lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Jul 8, 2011 at 1:44 PM, Dave Collins <Dave.Collins@mercatustechnologies.com> wrote:
>Is there a reason you need to reinvent log rotation? Every Unix-like
system out there has pretty advanced logging and rotation capabilities
already.

Did not realize it would be an OS-dependent issue. Target device is WinCE 5.

No idea if it has any kind of log rotate functionality, or how I might implement it in Lua.

The LuaLogging module [1] has support for this. It is called a "rolling file appender". I really like to use it for logging in general.
--
Regards,
Ryan

[1]�http://neopallium.github.com/lualogging/