On Mon, Nov 09, 2009 at 11:30:28PM -0500, vr wrote:
> Is doing it at the stroke of midnight an unwise practice?
Well, on a home system it doesn't matter much. For production use,
though, you generally want to avoid CPU or I/O spikes, and running a ton
of stuff at the same time would be a Bad Thin
vr schreef:
On Tue, 10 Nov 2009 12:48:21 +0800, Jerome BENOIT
If you box is a laptop, you may consider to install anachron.
...
For some people, like me, minnight is really not appropriate :-)
I would be interested to hear "why" it would not be appropriate in your
case because perhaps you've
On Tue, 10 Nov 2009 12:48:21 +0800, Jerome BENOIT
wrote:
> Hello VR,
>
> actually it is configured in `/etc/crontab' , see crontab(1) crontab(5)
> cron(8) with man for further details:
Thanks for this. Based on an earlier list reply I was able to set it
before midnight my time last night so it i
Hello VR,
actually it is configured in `/etc/crontab' , see crontab(1) crontab(5) cron(8)
with man for further details:
I guess it is a good idea to adapt the configuration with respect to the use of
the computer.
If you box is a laptop, you may consider to install anachron.
For some people, l
On Mon, 09 Nov 2009 23:30:28 -0500
vr wrote:
> It looks like the stock logs rotate at 6:24 AM my time? This seems like a
> strange "time" to do it to me, is this typical? Or is something not set
> local correctly my system?
Typical; here's my (stock) '/etc/crontab':
...
# m h dom mon dow user
It looks like the stock logs rotate at 6:24 AM my time? This seems like a
strange "time" to do it to me, is this typical? Or is something not set
local correctly my system?
Is doing it at the stroke of midnight an unwise practice?
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
On Fri, Jun 27, 2008 at 10:50:35 +0200, Raven ([EMAIL PROTECTED]) wrote:
> Hi.
> I am running a debian server and I noticed that the logs are being
> rotated around 6.30am .
> How can I make the rotation happen at 12AM instead?
Changing the time /etc/cron.daily is run by editing /etc/crontab, or
Hi.
I am running a debian server and I noticed that the logs are being
rotated around 6.30am .
How can I make the rotation happen at 12AM instead?
- Raven
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Tue, Dec 20, 2005 at 10:52:34AM +1000, Michael Bellears wrote:
> When logrotate rotates the apache logs
> (/var/chroot/apache/var/log/apache/), it appears to not be able to
> stop/start apache, therefore there is no further logging performed until
> I manually stop then start apache (/etc/init.d
When logrotate rotates the apache logs
(/var/chroot/apache/var/log/apache/), it appears to not be able to
stop/start apache, therefore there is no further logging performed until
I manually stop then start apache (/etc/init.d/apache stop then
/etc/init.d/apache start)
Any suggestions as to what I
On Sunday 11 September 2005 02:36, Brett <[EMAIL PROTECTED]>
(<[EMAIL PROTECTED]>) wrote:
> Greetings,
> I wish, when the mail.log is rotated, that it is first grep'ed for the
> string "reject" and the results of that grep to be mailed to a specific
> user.
man logrotate ?
postrotate/endscri
Greetings,
I wish, when the mail.log is rotated, that it is first grep'ed for the
string "reject" and the results of that grep to be mailed to a specific
user. I have looked in /etc/logrotate.conf and /etc/logrotate.d/* but
neither of these include the mail.log file. I am using postfix if it
m
On Wed, Jun 25, 2003 at 11:18:54AM -0700, Bill Moseley wrote:
|
| I'd like to rotate my exim logs weekly instead of daily.
|
| In /etc/cron.daily/exim there's:
|
| # Cycle logs
| if [ -x /usr/bin/savelog ]; then
| for i in mainlog rejectlog paniclog; do
| if [ -s /var/log/exim/$i ]; then
|
I'd like to rotate my exim logs weekly instead of daily.
In /etc/cron.daily/exim there's:
# Cycle logs
if [ -x /usr/bin/savelog ]; then
for i in mainlog rejectlog paniclog; do
if [ -s /var/log/exim/$i ]; then
savelog -p -c 10 /var/log/exim/$i >/dev/null
fi
done
fi
I could move
On Tue, Apr 01, 2003 at 02:31:29PM -0500, Matthew Daubenspeck wrote:
| On Tue, Apr 01, 2003 at 01:44:24PM -0500, Derrick 'dman' Hudson wrote:
| > It can. Just be sure to anchor the glob. For example, using
| > "/var/log/samba/smb*" is really bad because the first rotated file
| > (smb_foo.1) will
Matthew Daubenspeck wrote:
On Tue, Apr 01, 2003 at 01:44:24PM -0500, Derrick 'dman' Hudson wrote:
It can. Just be sure to anchor the glob. For example, using
"/var/log/samba/smb*" is really bad because the first rotated file
(smb_foo.1) will match as well. The above anchor with "*.log"
prevents
On Tue, Apr 01, 2003 at 01:44:24PM -0500, Derrick 'dman' Hudson wrote:
> It can. Just be sure to anchor the glob. For example, using
> "/var/log/samba/smb*" is really bad because the first rotated file
> (smb_foo.1) will match as well. The above anchor with "*.log"
> prevents "<...>log.1" from m
On Tue, Apr 01, 2003 at 12:06:27PM -0500, Mike M wrote:
| On Tuesday 01 April 2003 10:43, Matthew Daubenspeck wrote:
| > I currently have a daemon logging each day's worth of activity into a
| > separate daily log with the daemon-month.date.year format.
| > Unfortunately, I cannot change the option
On Tue, Apr 01, 2003 at 12:06:27PM -0500, Mike M wrote:
> > I guess the last resort would be to create some sort of shell script
> > that would run in cron once a day and delete the oldest file in the log
> > directory.
>
> Sounds like a good solution if you have log files that always get a unique
On Tuesday 01 April 2003 10:43, Matthew Daubenspeck wrote:
> I currently have a daemon logging each day's worth of activity into a
> separate daily log with the daemon-month.date.year format.
> Unfortunately, I cannot change the options of HOW it is logged or what
> it is named.
>
> I really only w
I currently have a daemon logging each day's worth of activity into a
separate daily log with the daemon-month.date.year format.
Unfortunately, I cannot change the options of HOW it is logged or what
it is named.
I really only want to keep a weeks worth of logs, and have tried to use
logrotate to
On Sun, Sep 08, 2002 at 02:11:43PM +0100, Chris Evans wrote:
> I am trying to understand how log rotation and other regular tasks
. . .
> but my mail logs are getting rotated every Sunday at a time varying
> from 07.37 to 08.18 to judge from the timestamps on the files. I'd
&g
I am trying to understand how log rotation and other regular tasks
work. I thought I understood cron and didn't need anacron but find
it's installed anyway now and it's emailing me daily, weekly &
monthly reports and I've worked out that it's being called by cr
On Thu, Apr 18, 2002 at 11:42:47AM +0200, José wrote:
> recently i added this to my potato 2.2r3 logrotate.conf
>
> /var/log/syslog {
> monthly
> rotate 1
> }
>
> after this, i noticed that nothing have changed ! the rotation is still done
> weekly with rotation 5 !
check /etc/cron.week
Hi all,
recently i added this to my potato 2.2r3 logrotate.conf
/var/log/syslog {
monthly
rotate 1
}
after this, i noticed that nothing have changed ! the rotation is still done
weekly with rotation 5 !
any idea ?
thx
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of
I am using Apache/1.3.9 with debian 2.2rev5 [potato]
I have a mess of Named Virtual hosts, all with their own Custom error and
access logs in separate directories. Will the /etc/apache/cron.conf file
that controls the log rotation rotate ALL logs automatically, or logs only
in the default log
%% Ilya Martynov <[EMAIL PROTECTED]> writes:
im> Just curious: What drawbacks?
I found two, but only one is really critical:
1) You can use globbing to have a single stanza match multiple log
files, BUT the entire stanza is run each time for each log file,
_including_ the postrotate s
> "PDS" == Paul D Smith <[EMAIL PROTECTED]> writes:
PDS> Unfortunately after playing with logrotate, it has some
PDS> significant drawbacks that would need to be addressed before
PDS> it could be considered sufficiently generic to be used by
PDS> "everyone".
Just curious: What
%% Ethan Benson <[EMAIL PROTECTED]> writes:
eb> On Wed, Mar 21, 2001 at 09:08:00PM -0500, Paul D. Smith wrote:
>> This seems needlessly complex: how many different log rotating tools do
>> we need to have on a system in order to do the job? Debian should pick
>> one and try to move all t
the Apache web site (pipe to rotatelogs or whatever).
>
> Nevertheless, my /var/log/apache/* log files are without a doubt being
> rotated.
>
> Who is doing it, and from where?!?!
each package installs its own cron job in cron.weekly or cron.daily to
take care of log rotation, some
OK, I see sysklogd.
This seems needlessly complex: how many different log rotating tools do
we need to have on a system in order to do the job? Debian should pick
one and try to move all the standard system services to use that one
tool, IMO.
Next question: how in the heck are the Apache logs ro
> Most of the system files are being rotated by sysklogd.
>
> Regards,
> Andreas.
Did some more digging, finally found savelog. If you check your
/etc/cron.daily and /etc/cron.weekly, you'll find savelog is called by sysklogd.
change the -c 4 to something higher, and in the other, the -c 7 to
On Wed, Mar 21, 2001 at 12:31:28PM -0500, Paul D. Smith wrote:
> [...]
> I mean, I know about logrotate and I ass-u-me that the logs in /var/log
> are rotated using logrotate... no?
>
> When I look in /etc/cron.daily/logrotate I see an invocation of
> logrotate with the config file /etc/logratate.
"Paul D. Smith" wrote:
> How are the rest of the log files getting rotated? Is this built into
> logrotate somehow so it doesn't need to be configured? Or what?
Indeed. I changed my logrotate.conf, to rotate weekly, for 52 weeks. So far,
some
files rotate daily, some rotate weekly, some rota
nf file it has a comment that it includes the
/etc/logrotate.d directory because "RPM packages drop log rotation
information into this directory". The only file there on my system is
for junkbuster (which is a Debian package, not an RPM). If this is for
RPM logrotate configs, is ther
> On Sun, Dec 31, 2000 at 02:37:08PM +0100, Benj wrote:
> > Hi, my log rotation happens once a week on sunday.
> > Which file should I edit to have it lets say happen each day ? How do
> > I set log rotation ?
>
> Assuming you use 'logrotate', there is
[EMAIL PROTECTED] ("Benj") writes:
> Hi, my log rotation happens once a week on sunday.
> Which file should I edit to have it lets say happen each day ? How do I set
> log rotation ?
I do not know how the details vary from version to version but on my
system (potato, logrot
Hi, my log rotation happens once a week on sunday.
Which file should I edit to have it lets say happen each day ? How do I set
log rotation ?
Thanks,
Benj
if you install it?
% dpkg -l|grep logrotate
ii logrotate 3.2-11 Log rotation utility
Gary
On 06-Dec-2000 CaT wrote:
> Ok. I've pondered but couldn't figure it out. Why does debian not
> use logrotate for the rotation of syslog files and stuff? It seems
> easy enough.
>
> The only possible reason I can think of is that you folks don't
> want syslogd restarted after each file. But then
Ok. I've pondered but couldn't figure it out. Why does debian not
use logrotate for the rotation of syslog files and stuff? It seems
easy enough.
The only possible reason I can think of is that you folks don't
want syslogd restarted after each file. But then that's easy enough
to get around by put
Thanks that fixed my error. I did not have the file you mentioned so I
created and edited it..
At 10:49 AM 12/1/2000 -0500, you wrote:
On Fri, Dec 01, 2000 at 09:09:13AM -0500, Eileen Orbell wrote:
> Hi All
>
> I have this error emailed to me daily from root. Does anyone know how I
> can rep
Eileen Orbell <[EMAIL PROTECTED]>
> To: debian-user@lists.debian.org
> Subject: Log rotation error
>
> Hi All
>
> I have this error emailed to me daily from root. Does anyone know how I
> can repair this? I recall I had this when I used RH but can not remember
> ho
On Fri, Dec 01, 2000 at 09:09:13AM -0500, Eileen Orbell wrote:
> Hi All
>
> I have this error emailed to me daily from root. Does anyone know how I
> can repair this? I recall I had this when I used RH but can not remember
> how to fix it?
>
> Thanks
>
> errors occured while rotating /var/l
Hi All
I have this error emailed to me daily from root. Does anyone know how I
can repair this? I recall I had this when I used RH but can not remember
how to fix it?
Thanks
errors occured while rotating /var/log/mysql.err
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error:
n debian-policy and
debian-devel for it if you're interested in how the discussion about
that went.)
You can install it, RTFM (and RTFS if you feel like it), then use it
to customize your log rotation setup. It works very well.
I would like for /var/log/mail.* to rotate daily instead of weekly. When I
use syslogd-listfiles, it verifies mail.* is configured to rotate weekly. I
checked the syslogd script in /etc/cron.daily and /etc/cron.weekly. They
are all running as the they should calling savelog according to
configu
/usr/bin/savelog in package debianutils
Bob
> Date: Fri, 21 Nov 1997 23:59:35 -0800 (PST)
> From: David Stern <[EMAIL PROTECTED]>
>
> Hi people,
>
> Is there a .deb log rotation package? You know what I mean, just
> something to swap out the logs in /var/.. every
>There's a rotatelogs program in one of the web server packages, I think.
>It should be broken out into its own package.
I'd like to see a separate package for this as well. It's a pain
doing it by hand and I'm too busy/lazy to write a shell script to do
it automatically!
Gary
--
TO UNSUBSCRIB
On Sat, 22 Nov 1997, Bruce Perens wrote:
> There's a rotatelogs program in one of the web server packages, I think.
> It should be broken out into its own package.
Is there an advantage of the rotatelogs program over the savelog script?
I like the script so much, I use it on a sun that I admin an
On Sat, Nov 22, 1997 at 12:10:00AM -0800, Bruce Perens wrote:
> There's a rotatelogs program in one of the web server packages, I think.
> It should be broken out into its own package.
The rotatelogs program is included in package web/apache
--
Ioannis Tambouras
[EMAIL PROTECTED], West Pal
There's a rotatelogs program in one of the web server packages, I think.
It should be broken out into its own package.
Bruce
--
Can you get your operating system fixed when you need it?
Linux - the supportable operating system. http://www.debian.org/support.html
Bruce Perens K6BP [EMAIL
Hi people,
Is there a .deb log rotation package? You know what I mean, just
something to swap out the logs in /var/.. every week and rename them
*.1, *.2, .. up to the number of weeks you want to keep them. This has
been on my mind for quite some time, because I've been thinking that
it
53 matches
Mail list logo