Marko Jauhiainen | 8 Mar 2011 12:15
Picon
Picon

Re: Problems with setting the number of imap log files


On 5.3.2011 0:11, Rolf E. Sonneveld wrote:

>> [Running Oracle Communications Messaging Exchange Server 7u4-19.01
>> 64bit (built Sep 7 2010)
>> libimta.so 7u4-19.01 64bit (built 13:35:06, Sep 7 2010)]
>>
>> I would like to keep the last 10 imap logfiles of the store server.
>> How do I do that? I have set "logfile.imap.maxlogfiles" with
>> configutil to "10", but the maximum number of imap logfiles in the log
>> directory stays at 2. Am I missing something obvious here?
>
> What other logfile.imap.* configutil settings do you have?

logfile.imap.maxlogfiles = 10
logfile.imap.maxlogfilesize = 10485760
logfile.imap.maxlogsize = 104857600

> And what are the sizes of the logfiles that are present? Do they rotate,
> or is one of them still growing?

  4265330 Mar  8 13:09 imap
10485867 Mar  8 11:46 imap.857.1238449956

The older file is always about 10485867, i.e., it corresponds to the 
logfile.imap.maxlogfilesize setting. So once "imap" above reaches that 
size, it rotates and "imap.857.1238449956" disappears.

Marko


Gmane