RabbitMQ - not writing logs?

774 views
Skip to first unread message

Sean Bollin

unread,
Aug 9, 2016, 4:08:00 PM8/9/16
to rabbitmq-users

Is this normal?  0 bytes to rab...@myhost.log and rab...@myhost-sasl.log?


Cluster has been running fine for months until today we get a network partition.  Try to look at the logs and the main files haven't been written to for months?


-rw-r--r--.  1 rabbitmq rabbitmq       0 May 11 19:12 rab...@myhost.log

-rw-r--r--.  1 rabbitmq rabbitmq       0 Aug  8 03:47 rab...@myhost-sasl.log

-rw-r--r--.  1 rabbitmq rabbitmq     508 May 14 06:53 rab...@myhost-sasl.log-20160515.gz

-rw-r--r--.  1 rabbitmq rabbitmq    1674 May 18 18:08 rab...@myhost-sasl.log-20160522.gz

-rw-r--r--.  1 rabbitmq rabbitmq  232420 May 30 22:41 rab...@myhost-sasl.log-20160531.gz

-rw-r--r--.  1 rabbitmq rabbitmq    7024 Aug  7 22:52 rab...@myhost-sasl.log-20160808

-rw-r--r--.  1 root     root           0 May 30 22:41 shutdown_err

-rw-r--r--.  1 root     root          49 May 30 22:41 shutdown_log

-rw-r--r--.  1 root     root           0 May 30 22:41 startup_err

-rw-r--r--.  1 root     root     1497098 Aug  8 17:26 startup_log

Michael Klishin

unread,
Aug 9, 2016, 4:41:07 PM8/9/16
to rabbitm...@googlegroups.com
SASL log can be blank for a while (only unhandled exceptions are logged to it)
but standard log certainly can't, e.g. by default it logs inbound connections.



--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Sean Bollin

unread,
Aug 11, 2016, 3:36:53 PM8/11/16
to rabbitmq-users
Hmm ok, will take a look.  Perhaps these inactive log files are on the 2 out of 3 nodes in the cluster that aren't being used ......


On Tuesday, August 9, 2016 at 3:41:07 PM UTC-5, Michael Klishin wrote:
SASL log can be blank for a while (only unhandled exceptions are logged to it)
but standard log certainly can't, e.g. by default it logs inbound connections.


On Tue, Aug 9, 2016 at 11:08 PM, Sean Bollin <se...@sean-bollin.com> wrote:

Is this normal?  0 bytes to rab...@myhost.log and rab...@myhost-sasl.log?


Cluster has been running fine for months until today we get a network partition.  Try to look at the logs and the main files haven't been written to for months?


-rw-r--r--.  1 rabbitmq rabbitmq       0 May 11 19:12 rab...@myhost.log

-rw-r--r--.  1 rabbitmq rabbitmq       0 Aug  8 03:47 rab...@myhost-sasl.log

-rw-r--r--.  1 rabbitmq rabbitmq     508 May 14 06:53 rab...@myhost-sasl.log-20160515.gz

-rw-r--r--.  1 rabbitmq rabbitmq    1674 May 18 18:08 rab...@myhost-sasl.log-20160522.gz

-rw-r--r--.  1 rabbitmq rabbitmq  232420 May 30 22:41 rab...@myhost-sasl.log-20160531.gz

-rw-r--r--.  1 rabbitmq rabbitmq    7024 Aug  7 22:52 rab...@myhost-sasl.log-20160808

-rw-r--r--.  1 root     root           0 May 30 22:41 shutdown_err

-rw-r--r--.  1 root     root          49 May 30 22:41 shutdown_log

-rw-r--r--.  1 root     root           0 May 30 22:41 startup_err

-rw-r--r--.  1 root     root     1497098 Aug  8 17:26 startup_log

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Manabhanjan Sahoo

unread,
Aug 12, 2016, 3:59:25 AM8/12/16
to rabbitmq-users
Same issue i have facing also.. i cant see any server specific logs . Only sasl log file contains some log.  Is there any config parameter need to be enabled to get logs?


Michael Klishin

unread,
Aug 12, 2016, 4:02:43 AM8/12/16
to rabbitm...@googlegroups.com
Log levels are configurable but just about everything RabbitMQ can log is logged by default.

Does restarting your node help? There were bugs in the past that could break logging
but the last of those that I can recall was in the 3.4.x days:

On Fri, Aug 12, 2016 at 10:59 AM, Manabhanjan Sahoo <manav...@gmail.com> wrote:
Same issue i have facing also.. i cant see any server specific logs . Only sasl log file contains some log.  Is there any config parameter need to be enabled to get logs?


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages