Revision cfcc79c6 lib/daemon.py
b/lib/daemon.py | ||
---|---|---|
659 | 659 |
utils.WritePidFile(utils.DaemonPidFileName(daemon_name)) |
660 | 660 |
try: |
661 | 661 |
try: |
662 |
utils.SetupLogging(logfile=constants.DAEMONS_LOGFILES[daemon_name],
|
|
662 |
utils.SetupLogging(constants.DAEMONS_LOGFILES[daemon_name], daemon_name,
|
|
663 | 663 |
debug=options.debug, |
664 | 664 |
stderr_logging=not options.fork, |
665 | 665 |
multithreaded=multithreaded, |
666 |
program=daemon_name, |
|
667 | 666 |
syslog=options.syslog, |
668 | 667 |
console_logging=console_logging) |
669 | 668 |
if callable(prepare_fn): |
Also available in: Unified diff