Results 1 to 1 of 1
I am trying to make a log file entry into logrotate.conf through shell script. Is there a command that controls a the entry and removal of log file entries into ...
- 03-15-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 4
tool to edit logrotate.conf
I am trying to make a log file entry into logrotate.conf through shell script. Is there a command that controls a the entry and removal of log file entries into the logrotate.conf. What I mean is, something like 'logadm -w' or 'logadm -r' that can be used to add/remove an entry respectively, from logadm.conf. I need so that I don't make duplicate entries if I run the script multiple times. Please help.


Reply With Quote