Re: [exim] not syslogging correctly

Página Inicial
Delete this message
Reply to this message
Autor: Mike Sturdee
Data:  
Para: exim-users
CC: ph10
Assunto: Re: [exim] not syslogging correctly
When logging to a file, the line is written correctly.

On Thu, 16 Dec 2004, Philip Hazel wrote:

> On Thu, 16 Dec 2004, Mike Sturdee wrote:
>
>> I have exim set to use syslog, and I set SYSLOG_LONG_LINES=yes at buildtime.
>> I'm using syslog-ng, and have set log_msg_size(8192) in it. I have
>> successfully sent 3k test lines to it.
>
>> Exim however truncates the log line at around 1000 bytes. (having set
>> SYSLOG_LONG_LINES=yes it does not do the [1/3] log line splitting, so
>> it does somewhat honor the option). The rest of the log line does not
>> appear elsewhere in any log file, it's just gone..
>
> 1. If you set logging to a file, does Exim correctly write these long lines
> there?
>
> 2. As far as I can see from the code, Exim should just write the text to
> syslog. To debug this further, additional debugging code will have to be
> added to Exim to check that statement.
>
> 3. Exim itself has a maximum length of log line, but it defaults to 8192.
>
> -- 
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book

>


-Mike

==================================
Network Engineer
Pathway Internet Services
616.774.3131