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

[dev.icinga.com #8226] Make invalid log-severity option output an error instead of a warning #2522

Closed
icinga-migration opened this issue Jan 15, 2015 · 2 comments
Labels
area/cli Command line helpers enhancement New feature or request
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/8226

Created by jflach on 2015-01-15 10:37:06 +00:00

Assignee: jflach
Status: Resolved (closed on 2015-01-15 10:50:03 +00:00)
Target Version: 2.3.0
Last Update: 2015-02-06 12:56:49 +00:00 (in Redmine)


# icinga2 daemon --log-level debuf
[2015-01-15 11:28:29 +0100] critical/Logger: Invalid severity: 'debuf'.
[2015-01-15 11:28:29 +0100] warning/icinga: Invalid log level set. Using default 'information'.

The warning is easily overlooked and even if it's seen the user will have to restart icinga with the correct argument anyways, so an exit() makes sense.

Changesets

2015-01-15 10:45:12 +00:00 by jflach bb25e5b

Make Icinga exit on invalid log-severity argument

fixes #8226
@icinga-migration
Copy link
Author

Updated by jflach on 2015-01-15 10:50:03 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset bb25e5b.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-02-06 12:56:49 +00:00

  • Subject changed from Make invalid log-severity option inout an error instead of a warning to Make invalid log-severity option output an error instead of a warning

@icinga-migration icinga-migration added enhancement New feature or request area/cli Command line helpers labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.3.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Command line helpers enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant