Re: Qmail Logs ?

Sabahattin Gucukoglu <[email protected]> Wed, 17 Mar 2010 13:36:36 +0000
Newsgroups gmane.comp.djb.syslog,gmane.mail.qmail.general
Message-ID <[email protected]>
On 17 Mar 2010, at 12:52, Jerome SCHEVINGT wrote:
> Le 17/03/2010 12:18, Sabahattin Gucukoglu a =E9crit :
>> On 17 Mar 2010, at 05:20, Jerome SCHEVINGT wrote:
>>> can i said at qmail/multilog that he don't create @40000xx files ?
>>> only use one current ?
>>>    =20
>> Yes, you can.  Read multilog(8); see snnnnn argument (ssize) or use a =
file and not a directory for your log.
>=20
> Thanks, yes i have read the man, but for the size param, he said that =
it's limited at 16777215

Yes, it is.

> We don't have limitation in file mode ? if yes do you have a idea of =
the param for put in file ?

You can't use multilog for single files, it requires a minimum of two =
size-limited files.  If you have logger(1) from BSD utils or =
courierlogger(8) from courier-authlib, you can send messages from pipes =
to syslog.  Or just 2>>somefile to write the output straight to a file =
with no timestamps, as long as no two processes use the same file at the =
same time.

Cheers,
Sabahattin