Closed jpmens closed 6 years ago
It has been brought to my attention that using --daemonize
can almost be considered stupid because systemd et.al. exist, so why would I do this? I did this because systemd (though available on the platform I'm working on) isn't used here for launching "applications" such as dnsdist. Having found dnsdist has an option to daemonize I thought I'd use it. That might have been a mistake.
After a bit of consideration, I think the option/code for --daemonize
should be removed and be done with it.
After a bit of consideration, I think the option/code for --daemonize should be removed and be done with it.
Yes.
Short description
When starting dnsdist with
-d
(--daemonize
), the program doesn't log to a remote logger. It's as though this action were never specified, though the connect is seen:In a private conversation with @rgacogne it turns out that:
For the record, Remi also says
Environment
Expected behaviour
Logging should occur as without daemonize