Hello.
I'm in the process of replacing a custom logger class in one of my apps
that has several daemons. In the last step of daemonizing a program,
after closing fds, stderr and stdout are redirected to the logfile of
the program.
Now, I'm trying to use TimedRotatingFileHandler as the only chann
Hello, thanks for the answer.
On Mon, Feb 16, 2009 at 05:07:45AM -0800, Garrett Cooper wrote:
> You can actually set sys.std[err|out] to your ?file? descriptor of
> choice in python (it has to have read, write, and flush methods, IIRC
> to function). The only thing is (like all things dealing with
On Mon, Feb 16, 2009 at 10:11:51AM -0800, Scott David Daniels wrote:
> Fernando M. Maresca wrote:
> On Mon, Feb 16, 2009 at 05:07:45AM -0800, Garrett Cooper wrote:
>>> You can actually set sys.std[err|out] to your ?file? descriptor of
>>> choice in python
>&