Re: [exim] logging session to a file

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Graeme Fowler
日付:  
To: exim-users
題目: 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