Vinay Sajip writes:
> On Apr 9, 12:46 am, Ben Finney wrote:
> > Not quite. As the docs specify, you need to pass the *file
> > descriptors* for the files you want preserved.
>
> Okay, but the docstring you quoted:
>
> "Elements of the list are file descriptors (as returned by a file
> object's `
On Apr 9, 12:46 am, Ben Finney wrote:
> > I think you just have to pass the file object used by the handler
> > (fh.stream) in the files_preserve array.
>
> Not quite. As the docs specify, you need to pass the *file descriptors*
> for the files you want preserved.
Okay, but the docstring you quot
Ben Finney wrote:
Vinay Sajip writes:
On Apr 8, 1:58 pm, Rebelo wrote:
Vinay Sajip wrote:
My guess is - files_preserve needs to be passed a file handle and
not alogginghandler.
This is correct. As the ‘DaemonContext.__init__’ docstring says::
| `files_preserve`
| :Default: ``None