Gossamer Forum
Home : Products : DBMan : Customization :

autodelete lines in default log if >100 lines

Quote Reply
autodelete lines in default log if >100 lines
Hi,



I would like keep the default.log to a fixed size, say 100 lines. Anyone here knows a way to autodelete the first line of default.log once it exceeds the maximum number of lines?



Thanks in advance, peter
Quote Reply
Re: [peter01] autodelete lines in default log if >100 lines In reply to
One suggestion would be to download the file .. modify it and then upload it back to the server once in awhile.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] autodelete lines in default log if >100 lines In reply to
Hi Lois,



I installed the view/edit log mod, so I can edit the log online, but it would be slicker to have it truncated to a fixed number of lines automatically.



peter