Ok Alan, tell me how you like this answer. syslogd-listfiles has a -f
option. With you you can pass it a BOGUS syslogd.conf file. Here is
one I doctored for show purposes.
Run syslogd-listfiles -f test.conf and you will see how it works. (Also
see the --weekly).
Now if you like this setup,
I just installed hamm, and I noticed that the log file rotation in
/etc/cron.{daily,weekly}/sysklogd now uses a facility called
syslogd-listfiles. does anyone know how to change the periodicity
with which logs are rotated? most notably, i want to rotate syslog on
a weekly, not daily basis, but
On Thu, 30 Jul 1998, Alan Su wrote:
: I just installed hamm, and I noticed that the log file rotation in
: /etc/cron.{daily,weekly}/sysklogd now uses a facility called
: syslogd-listfiles. does anyone know how to change the periodicity
: with which logs are rotated? most notably, i want to
Nathan E Norman wrote (Thu, 30 Jul 1998 12:51:59 -0500 (CDT) ):
|On Thu, 30 Jul 1998, Alan Su wrote:
|
|: I just installed hamm, and I noticed that the log file rotation in
|: /etc/cron.{daily,weekly}/sysklogd now uses a facility called
|: syslogd-listfiles. does anyone know how to change the
Alan Su wrote:
Well, this is only half the solution; if i simply exit the script
without doing anything, i don't get the daily rotations. however, i
don't get the weekly ones either (which is what i want).
-alan
So move the script from daily to weekly. Then it gets run when you want
it to
Shaleh wrote (Thu, 30 Jul 1998 14:00:56 -0400 ):
|Alan Su wrote:
| Well, this is only half the solution; if i simply exit the script
| without doing anything, i don't get the daily rotations. however, i
| don't get the weekly ones either (which is what i want).
|
| -alan
|
|So move the script
On Thu, 30 Jul 1998, Alan Su wrote:
: Nathan E Norman wrote (Thu, 30 Jul 1998 12:51:59 -0500 (CDT) ):
: |On Thu, 30 Jul 1998, Alan Su wrote:
: |
: |: I just installed hamm, and I noticed that the log file rotation in
: |: /etc/cron.{daily,weekly}/sysklogd now uses a facility called
: |:
I did not see the full scope of the question. I am away from my Debian
box. Alan, would you send a very clear, concise e-mail back to the list
that better explains what you want? If the current scrpt fails in some
respect then it can be updated -- that is the Debian way (-: Post a
bug, make an
OK, both Norman and Shaleh didn't understand my question. i can only
conclude that i'm an idiot. =) here's a second shot:
these are the output of 'syslogd-listfiles' and
'syslogd-listfiles --weekly':
alsu# syslogd-listfiles
/var/log/syslog
alsu# syslogd-listfiles --weekly
On Thu, 30 Jul 1998, Alan Su wrote:
: OK, both Norman and Shaleh didn't understand my question. i can only
: conclude that i'm an idiot. =) here's a second shot:
No, you're no idiot. I may be, however, for not understanding the
question completely.
: these are the output of
Have you tried man on syslogd-listfiles?? It should give you a
pointer. If not, contact the packages maintainer and ask him. He/she
will know the correct way to do this. If the script needs editing or a
conf file he can either make his own or ask for help. If this is not
resolved, I will look
Shaleh wrote (Thu, 30 Jul 1998 16:58:18 -0400 ):
|Have you tried man on syslogd-listfiles?? It should give you a
|pointer. If not, contact the packages maintainer and ask him. He/she
|will know the correct way to do this. If the script needs editing or a
|conf file he can either make his own
Alan Su [EMAIL PROTECTED] wrote:
it seems to me that there should be a way to do this, but currently it
requires an act of god, or at least some really gross changes to
/etc/syslog.conf which will probably change the way stuff gets logged.
(i admit, i don't really understand what facilities
13 matches
Mail list logo