Hi everyone,

I needed a rolling file appender on a lua project and i thought it would be
a cool addition to lualogging, i use it a lot because the machines i work
with have limited space to write logs, so i have to configure the log to
occupy x bytes on the maximum and configure a maximum of backup files too
(make easier to see the log files).

it is inspired on:
http://log4cpp.sourceforge.net/

which has a rolling file appender.

my test is not very cool, but after running it you can see that it worked
:-), but it is not working fully automated, it will only produce the logs
and them check if the files where created and if they are not empty...

and i wrote a small documentation based on the file documentation.
(everything is on the tar)

anything else that i can do to make the rolling appender better let me know.

I'm not very used to cvs, but since i only added new files I'm unable to add
them to the cvs and make a patch ("cvs add file" failed =/), so I'm just
sendind the files.

hope someone finds it useful.

best regards,
Katcipis

Attachment: rolling_file_appender.tgz
Description: GNU Zip compressed data

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to