Rebelo <puntabl...@gmail.com> writes: > i found a crude workaround: > i wrote a function in which i start logging after deamon starts
That seems rather sub-optimal; you'll be unable to use the logger for anything before the daemon context opens. This kind of problem is exactly what ‘DaemonContext.files_preserve’ is intended to address. Hopefully you can make use of the ‘DaemonContext.files_preserve’ option as intended; please see my message earlier in this thread. -- \ “Of all classes the rich are the most noticed and the least | `\ studied.” —John Kenneth Galbraith, _The Age of Uncertainty_, | _o__) 1977 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list