[opensuse] Rotating logs

2007-06-19 Thread Verner Kjærsgaard
Hi list

One special programme produces entries into its very own log.
I'd like that log to be included into the normal log rotating thing that 
SuSE10.2 does. So as to avoid having one log growing bigger and bigger and 
bigger and...

how-to?

:-)



-- 
-
Med venlig hilsen/Best regards
Verner Kjærsgaard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Rotating logs

2007-06-19 Thread Darryl Gregorash
On 06/19/2007 02:04 PM, Verner Kjærsgaard wrote:
 Hi list

 One special programme produces entries into its very own log.
 I'd like that log to be included into the normal log rotating thing that 
 SuSE10.2 does. So as to avoid having one log growing bigger and bigger and 
 bigger and...

 how-to?

Look in /etc/logrotate.d/, and place your own file there. You can read
man logrotate to find out all the various kinds of options there are
(weekly, daily, monthly rotates, rotations based on maximum file size,
compress or don't compress the rotated files, etc etc).

If you wish, post your prototype control file here before installing it.
I am sure that will generate lots of comments about different ways to do
things :-)


-- 
Hypocrisy is the homage vice pays to virtue. -- François de La Rochefoucauld

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Rotating logs (SOLVED)

2007-06-19 Thread Verner Kjærsgaard
Tirsdag 19 juni 2007 22:13 skrev Darryl Gregorash:
 On 06/19/2007 02:04 PM, Verner Kjærsgaard wrote:
  Hi list
 
  One special programme produces entries into its very own log.
  I'd like that log to be included into the normal log rotating thing that
  SuSE10.2 does. So as to avoid having one log growing bigger and bigger
  and bigger and...
 
  how-to?

 Look in /etc/logrotate.d/, and place your own file there. You can read
 man logrotate to find out all the various kinds of options there are
 (weekly, daily, monthly rotates, rotations based on maximum file size,
 compress or don't compress the rotated files, etc etc).

 If you wish, post your prototype control file here before installing it.
 I am sure that will generate lots of comments about different ways to do
 things :-)


 --
 Hypocrisy is the homage vice pays to virtue. -- François de La
 Rochefoucauld

- thank you!

- no, I shall not post my file here, your advise was to the point and just 
what I needed. I looked into the files already there and got inspired.
- thanks again!



-- 
-
Med venlig hilsen/Best regards
Verner Kjærsgaard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]