César Amaya csar at 123.com.sv
Mon Jun 18 13:43:15 PDT 2007
Andrew Hammond wrote:
> There are plenty of options for handling log rotation. Apache's
> rotatelogs works well. Personally I use DJB's multilog (as part of a
> daemontools approach). If you're interested in using daemontools,
> check out the tools/slon-mkservice.sh script (currently only in CVS /
> the 1.2.10 pre-release tarballs).
>
> If you're already using logrotate, then I guess I could see sticking
> with it. I don't see any good reason to pick it over the alternatives
> for a first install though. I think that any solution that requires
> copytruncate is poorly conceived, since the algorithm wastes IO. If
> you must use logrotate, I'd consider simply killing and restarting the
> slon as part of your rotation process.
>
> Andrew
>
>
> On 6/18/07, Bill Willits <bwillits at cox.net> wrote:
>> Yes, logrotate will work fine.  Make sure to use the 'copytruncate' 
>> option
>>
>> ~Bill Willits
>>
>> ----- Original Message -----
>> From: "César Amaya" <csar at 123.com.sv>
>> To: <slony1-general at lists.slony.info>
>> Sent: Monday, June 18, 2007 11:19 AM
>> Subject: [Slony1-general] slony log rotate
>>
>>
>> Hi guys!!! I´m newbie in Slony. I was wandering if is good idea rotate
>> slony logs with another tool different from Apache´s rotatelogs. I plan
>> to use logrotate.
>>
>> Can anyone give some light here please.
>>
>> Thanks guys!!!
>> _______________________________________________
>> Slony1-general mailing list
>> Slony1-general at lists.slony.info
>> http://lists.slony.info/mailman/listinfo/slony1-general
>>
>> _______________________________________________
>> Slony1-general mailing list
>> Slony1-general at lists.slony.info
>> http://lists.slony.info/mailman/listinfo/slony1-general
>>
>
Could you send me an example of your configurations files?

Regards!!


More information about the Slony1-general mailing list