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
Clean up temp files #8157
Clean up temp files #8157
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments apply to both locations.
294737c
to
c3bee3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the log tag, this LGTM.
lib/icinga/icingaapplication.cpp
Outdated
try { | ||
Utility::Glob(path + ".tmp.*", &Utility::Remove, GlobFile); | ||
} catch (const std::exception& ex) { | ||
Log(LogWarning, "ConfigObject") << DiagnosticInformation(ex); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Log tag should be "IcingaApplication".
c3bee3a
to
450b211
Compare
fixes #5124