I'm using Simplecast to feed 8 mount points of a 24/7 live stream to Icecast on a win platform. When I have the Statistics Relays graphing activated, I get an entry each minute in Access.log for each of the mount points. That particular entry is pretty much useless but of course, being able to see the IP address of client drops can be useful. This log grows to mammoth proportions unless I clean it up on a regular basis (which I'm not prone to do.) Is there anyway other than eliminating the graphing to prevent those log entries. Otherwise, what would be the preferred method of eliminating the log completely? Eliminate the <accesslog> tag altogether? -- Dick Triad AV Services 1910 Ingersoll Ave. Des Moines, IA 50309 515-243-2125 515-243-2055 (fax) http://www.triadav.com dtrump1@triadav.com
On Wed, Oct 24, 2007 at 01:16:12PM -0500, Dick Trump wrote:> Is there anyway other than eliminating the graphing to prevent > those log entries. Otherwise, what would be the preferred method > of eliminating the log completely? Eliminate the <accesslog> tag > altogether?You're running on Windows. On a unix usually a log rotation program is used to remove old entries. Something like: C: CD \logfile\directory DEL Access-10.log REN Access-09.log Access-10.log REN Access-08.log Access-09.log REN Access-07.log Access-08.log REN Access-06.log Access-07.log REN Access-05.log Access-06.log REN Access-04.log Access-05.log REN Access-03.log Access-04.log REN Access-02.log Access-03.log REN Access-01.log Access-02.log REN Access.log Access-01.log might work on Windows as a scheduled task. -- Paul Martin <pm@nowster.org.uk>
Paul Martin wrote:> might work on Windows as a scheduled task.Thanks, Paul. I'll give it a try but I have the feeling that Icecast may have the the file open in non-shared mode. Attempts to do a file transfer have failed in the past on the Error.log file. (I maintain the system remotely via VNC.) -- Regards Dick Trump Triad AV Services 1910 Ingersoll Ave. Des Moines, IA 50309 515-243-2125 515-243-2055 (fax) http://www.triadav.com dtrump1@triadav.com
Dick Trump wrote:> I'm using Simplecast to feed 8 mount points of a 24/7 live stream to Icecast on a win platform. When I have the Statistics Relays graphing activated, I get an entry each minute in Access.log for each of the mount points. > > That particular entry is pretty much useless but of course, being able to see the IP address of client drops can be useful. This log grows to mammoth proportions unless I clean it up on a regular basis (which I'm not prone to do.) > > Is there anyway other than eliminating the graphing to prevent those log entries. Otherwise, what would be the preferred method of eliminating the log completely? Eliminate the <accesslog> tag altogether? >icecast does have the logsize and logarchive parameters that will allow you to automatically reopen your log files. Icecast won't filter out specific entries from logging itself but nothing is stopping you from doing that. karl.
Karl Heyes wrote:> icecast does have the logsize and logarchive parameters that will allow > you to automatically reopen your log files. Icecast won't filter out > specific entries from logging itself but nothing is stopping you from > doing that.Thanks, Karl. I'll look at those tags. The system's been humming along for several years and after a client "event", I decided I should look into this. -- Regards Dick Trump Triad AV Services 1910 Ingersoll Ave. Des Moines, IA 50309 515-243-2125 515-243-2055 (fax) http://www.triadav.com dtrump1@triadav.com
Karl wrote:> icecast does have the logsize and logarchive parameters that will allow > you to automatically reopen your log files. Icecast won't filter out > specific entries from logging itself but nothing is stopping you from > doing that.Perfect! I've set logsize to be about a week's worth of entries. Anything beyond that, I really don't much care. If I get ambitious, I'll write a little utility to strip out the unneeded entries whenever a new .old file appears. Then I can make logsize very small, regularly stuffing the desired entries into a cumulative file. -- Dick dtrump1@triadav.com