Re: [exim] logging session to a file

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Graeme Fowler
Date:  
À: exim-users
Sujet: 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