We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 819f49f commit 79d1e8aCopy full SHA for 79d1e8a
python/nav/bin/dhcpstats.py
@@ -40,7 +40,12 @@
40
41
def main():
42
"""Start collecting statistics."""
43
- init_generic_logging(logfile=LOGFILE)
+ init_generic_logging(
44
+ logfile=LOGFILE,
45
+ stderr=True,
46
+ stderr_level="ERROR",
47
+ read_config=True,
48
+ )
49
parse_args()
50
config = getconfig(CONFIGFILE)
51
collect_stats(config)
0 commit comments