[rabbitmq-discuss] logfile maintenance in windows

Emile Joubert emile at rabbitmq.com
Mon Jan 21 11:01:04 GMT 2013


Hi,

On 20/01/13 16:07, mabra wrote:
> The logfile grows and grows ... Is there any way to make a roll-over
> or have a logfile per date ?

You can use "rabbitmqctl rotate_logs", as described in
http://www.rabbitmq.com/install-windows.html

> Another thing so would be to find a documentation, which shows the 
> structure of the logentries. Because nothing is logged into the
> Windows NT Eventlog, one has to parse it by a separate program. So it
> is essential to find, where a messages starts and stops and mostly,
> if the entry is an information, a warning or an error.

http://www.erlang.org/doc/man/error_logger.html
If you need further details then you may need to consult the Erlang
sources in error_logger_file_h.erl

If you installed the broker as a Windows service then messages about
that service may appear in the eventlog. Regular broker log messages
will not appear in the eventlog unless you make special arrangements for
that to happen.
(e.g. see http://www.erlang.org/doc/man/nteventlog.html)





-Emile







More information about the rabbitmq-discuss mailing list