Re: [exim] logging session to a file

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Graeme Fowler
Data:  
Para: exim-users
Assunto: 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