On 6/18/07, César Amaya <[EMAIL PROTECTED]> wrote:
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 <[EMAIL PROTECTED]> wrote:
>> Yes, logrotate will work fine.  Make sure to use the 'copytruncate'
>> option
>>
>> ~Bill Willits
>>
>> ----- Original Message -----
>> From: "César Amaya" <[EMAIL PROTECTED]>
>> To: <[email protected]>
>> 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
>> [email protected]
>> http://lists.slony.info/mailman/listinfo/slony1-general
>>
>> _______________________________________________
>> Slony1-general mailing list
>> [email protected]
>> http://lists.slony.info/mailman/listinfo/slony1-general
>>
>
Could you send me an example of your configurations files?

slon-mkservice.sh writes the configuration files for you. I've written
some documentation for it, and the defaults are, I think, reasonable
(at least on FreeBSD). Please try it out and let me know if you have
questions so I can improve the documentation.

Andrew
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general

Reply via email to