Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure correct logfile/logfilesize values when defaulting logtype to system #772

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

root-expert
Copy link
Member

@root-expert root-expert commented May 12, 2021

When setting logtype to system ensure logfile and logfilesize have correct values instead of undef.
Chagning logtype to file could lead to non-working agent due to these values being undef, which is not obvious.

This Pull Request (PR) fixes the following issues

@kenyon kenyon added backwards-incompatible bug Something isn't working labels May 12, 2021
@root-expert root-expert changed the title Default logtype to file @root-expert Ensure correct logfile/logfilesize values when defaulting logtype to system Jul 30, 2021
@root-expert root-expert changed the title @root-expert Ensure correct logfile/logfilesize values when defaulting logtype to system Ensure correct logfile/logfilesize values when defaulting logtype to system Jul 30, 2021
@root-expert
Copy link
Member Author

Hopefully that's not backwards incompatible anymore.

LogType still defaults to system when systemd is detected, but the other params, LogFile/LogFileSize, have correct default values.

@bastelfreak bastelfreak merged commit c762181 into voxpupuli:master Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants