Re: [exim] logging session to a file

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Graeme Fowler
Fecha:  
A: exim-users
Asunto: Re: [exim] logging session to a file
On Thu, 2008-03-06 at 14:09 +0100, Zbigniew Szalbot wrote:
> I tried to log a session to file for later analysis (console does not
> allow me to see all of the session) so I tried:
>
> exim -d -M MESSAGE_ID > my.log
>
> This created my.log file but nothing was writtnen to it. Many thanks for advice!


You need to redirect stdout and stderr:

exim -d -M MESSAGE_ID 2>&1 > my.log

Graeme