Discussions
Activity
Sign In
How it works
Airtime Support
media-monitor / log rotation
Vote Up
0
Vote Down
Fred Percevault
May 2012
Posts: 53
Member
Hello,
i'm wondering how to change log rotation for media-monitor .(Debian Squeeze)
since log file are quite big.
In logrotate.d there is an "airtime-liquidsoap" script
i wish to made one for media-monitor based on it :
is it correct (it will works ?) :
/var/log/airtime/media-monitor/*.log {
compress
rotate 10
size 500k
missingok
notifempty
sharedscripts
postrotate
start-stop-daemon --stop --signal USR1 --quiet --pidfile /var/run/airtime-media-monitor.pid
endscript
}
2 Comments
sorted by
Votes
Date Added
Vote Up
0
Vote Down
Martin Konecny
May 2012
Posts: 1,860
Member
You don't need to do that. Just edit this file to change when the log is rotated
/usr/lib/airtime/media-monitor/logging.cfg
The default size is 10 MB.
Airtime Pro Hosting:
http://airtime.pro
Vote Up
0
Vote Down
Fred Percevault
May 2012
Posts: 53
Member
:)
great
(10Mb by default, it's really too much)
Thank Martin
Add a Comment
Start a New Discussion
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
8,397
Sourcefabric
↳
Announcements
25
Newscoop
↳
Newscoop Support
2,189
↳
Newscoop Development
722
↳
Newscoop Security
13
↳
Newscoop Documentation
17
↳
Newscoop Themes
69
Airtime
↳
Airtime Support
3,139
↳
Airtime Development
1,286
↳
Airtime Français
146
↳
Airtime Documentation
14
↳
Airtime Hacks
102
↳
Promote your station!
37
↳
Airtime Security
11
Booktype
↳
Booktype Support
277
↳
Booktype Development
55
↳
Booktype Documentation
7
Superdesk
↳
Superdesk Development
264
↳
Web Publisher
21
Poll
No poll attached to this discussion.
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339