lua-users home
lua-l archive

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


> 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.
> [1] http://neopallium.github.com/lualogging/

Alas. It says v1.2.0 is the version where they added rolling file appending, yet the latest downloadable release is 1.1.4 .


Dave Collins
Front-End Engineer
Mercatus Technologies Inc.
60 Adelaide Street East, Suite 700
Toronto ON M5C 3E4
T  416 603 3406 x 298
F  416 603 1790

dave.collins@mercatustechnologies.com
www.mercatustechnologies.com



From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Ryan Pusztai
Sent: Friday, July 08, 2011 2:01 PM
To: Lua mailing list
Subject: Re: managing log files

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/