Skip to content

Conversation

@seabres
Copy link
Contributor

@seabres seabres commented Nov 18, 2019

When using Webmin for installation with long term logfile archiving requirements, rotating the webmin action log is necessary to wipe them out after some period.
Doing this, the "Webmin Action Log" module is not capable of search through the rotated files.

This patch creates a possible method for handling this with adding a new global config option "logsearch_rotated".
When this is set to 1, the action log modules composes a summary action log file with all rotated contents and uses this as source for index and display.

Alternative way would be to include the filename also in %index. But there is the problem on deleting from %index, when an external logrotate has removed a rotated file.

@iliaross iliaross force-pushed the master branch 2 times, most recently from 6ec1f01 to 75f0ca4 Compare April 13, 2020 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant