Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dynamic olddir with logrotate
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gschneider
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 81
Location: Rostock, Germany

PostPosted: Sat Mar 26, 2005 10:29 pm    Post subject: Dynamic olddir with logrotate Reply with quote

Does anybody know if it is possible to have logrotate create olddirs with dynamic path names?

fictive example script:
Code:
/path/to/my/logs/*.log {
    compress
    monthly
    olddir /path/to/my/logs/$YEAR/$MONTH/
}

_________________
/(bb|[^b]{2})/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum