Hi Paul,

> Surely when you're creating the conffile fragment for logrotate to use, you
> can also make the corresponding olddir directory?
Nope, since I use wildcards:

/data/log/rsyslog/*/*/*.log
{
  ...
  olddir archive
}

Here, the dir structure is like:

  /data/log/rsyslog/mail/facilities/auth.log
  /data/log/rsyslog/mail/facilities/cron.log
  /data/log/rsyslog/dns/facilities/auth.log

etc, where mail and dns are hostnames.

I can't use a single olddir here (ie, an absolute path) either, since then I
expect the identical filenames to create problems...

I hope this clarifies my situation a bit!

Gr.

Matthijs

Attachment: signature.asc
Description: Digital signature

Reply via email to