[rabbitmq-discuss] log process

Matthias Radestock matthias at rabbitmq.com
Thu May 3 09:36:04 BST 2012


On 02/05/12 14:22, Rosa, Andrea (HP Cloud Services) wrote:
>>>> INFO REPORT==== 15-Apr-2012::06:30:37 === Rotating logs with suffix
>>>> ''
>> Where was that entry? In the .log.1 file or the .log file? If it was in
>> the former then that is expected, i.e. it's the last thing written
>> before the log is rotated.
> Yes, it was the last entry in .log.1
>> The current log entries should always go into the .log file. Hence my
>> question whether that file was empty, or perhaps did not exist at all.
> The .log file did not exist at all.

What log entries were you expecting to see during the 5 days since the 
log was rolled to .1? ? AMQP connect/disconnect events?

Did the log rotation work fine previously?

One thing to try is performing a manual log rotation with

   sudo mv /var/log/rabbitmq/<node>.log /var/log/rabbmitq/<node>.bak
   sudo /etc/init.d/rabbitmq-server rotate-logs

and then do something that normally results in a log entry, e.g. 
establish an AMQP connection. That *should* re-create the .log file, 
containing the expected entry.


More information about the rabbitmq-discuss mailing list