[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Default Log Rotation on Raq4? How do I change the Default



Thanks Zeffie,

I'm aware of the logroate.conf, and the logrotate.d directory.

But the logrotate.conf does not have a default for log files in a site
directory.

In the logrotate.d directory are configs for each virtual site, which leads
me to believe the config is created at the time a virtual site is created,
and the contents come from a master template.

By default, this is set to compress, and rotate @ 10MB.  I need to edit the
master template these are based off so that rotation happens weekly, no once
the file has reached 10MB.

I know I have to manually go in and edit the existing log rotation configs.
But I'd like to have each newly created site to have the new settings
automatically.

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Zeffie
Sent: Wednesday, February 18, 2004 4:32 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Default Log Rotation on Raq4? How do I change
the Default

> Where is the default log rotation defined on the Raq4?
> James C. Montz

/etc/logrotate.conf
/etc/logrotate.d

Zeffie
Cobalt RaQ System Administration, Maintenance and Repairs.
http://www.zeffie.com/how_to_contact_zeffie.html 734.454.9117
http://www.zeffie.com/ Home of the Worlds Largest Collection of RaQ rpms
Advanced Cobalt Security, Firewall, Snort, AntiSpam, AntiVirus, etc. GUI's

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users