Re: Daemon and logging - the best approach?

2008-11-07 Thread Lech Karol Pawłaszek
Lawrence D'Oliveiro wrote: > In message <[EMAIL PROTECTED]>, Lech Karol Pawłaszek wrote: > >> And now I want to read logging config file before daemonize the program >> because the file might not be accessible after daemonization. > > Why might it be inaccess

Re: Daemon and logging - the best approach?

2008-11-07 Thread Lech Karol Pawłaszek
I need 2.5 and I am not so sure if it helps here. Tough life. Kind regards, -- Lech Karol Pawłaszek "You will never see me fall from grace" [KoRn] -- http://mail.python.org/mailman/listinfo/python-list

Daemon and logging - the best approach?

2008-11-07 Thread Lech Karol Pawłaszek
monization. OTOH while daemonizing I am closing all opened file descriptors - including those opened for logging. What is the best approach to handle such situation? Should I close all FD before daemonizing or just forget it? Any other hints? Kind regards, -- Lech Karol Pawłaszek "You wi