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

Introduce NUT_DEBUG_LEVEL envvar support for default setting #1915

Closed
jimklimov opened this issue Apr 20, 2023 · 1 comment · Fixed by #1918
Closed

Introduce NUT_DEBUG_LEVEL envvar support for default setting #1915

jimklimov opened this issue Apr 20, 2023 · 1 comment · Fixed by #1918
Labels
enhancement service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
Milestone

Comments

@jimklimov
Copy link
Member

jimklimov commented Apr 20, 2023

Originally posted by @aquette in #1036 (comment)

If no -D options were provided (level is 0 after optargs loop), consult the envvar. While here, if no explicit -B/-F choices were made, daemons stay backgrounded by default (similar to use of debug_min via config files).

See also #1285 and #1903 as related efforts.

@jimklimov jimklimov added enhancement service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug labels Apr 20, 2023
@jimklimov jimklimov added this to the 2.8.1 milestone Apr 20, 2023
@jimklimov
Copy link
Member Author

Implementation proposed as part of #1918

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant