rabbitmq-server
rabbitmq-server copied to clipboard
Logging to console disables logging to file
rabbitmq-min.conf
:
loopback_users = none
log.console = true
RabbitMQ 3.8.34:
## ## RabbitMQ 3.8.34
## ##
########## Copyright (c) 2007-2022 VMware, Inc. or its affiliates.
###### ##
########## Licensed under the MPL 2.0. Website: https://rabbitmq.com
Erlang: 24.3.4 [jit]
TLS Library: OpenSSL - OpenSSL 1.1.1d 10 Sep 2019
Doc guides: https://rabbitmq.com/documentation.html
Support: https://rabbitmq.com/contact.html
Tutorials: https://rabbitmq.com/getstarted.html
Monitoring: https://rabbitmq.com/monitoring.html
Logs: <stdout>
c:/Users/bakkenl/AppData/Roaming/RabbitMQ/log/[email protected]
c:/Users/bakkenl/AppData/Roaming/RabbitMQ/log/rabbit@bakkenl-z01_upgrade.log
Config file(s): c:/Users/bakkenl/development/lukebakken/rabbitmq/conf/rabbitmq-min.conf
RabbitMQ 3.9.20:
## ## RabbitMQ 3.9.20
## ##
########## Copyright (c) 2007-2022 VMware, Inc. or its affiliates.
###### ##
########## Licensed under the MPL 2.0. Website: https://rabbitmq.com
Erlang: 24.3.4 [jit]
TLS Library: OpenSSL - OpenSSL 1.1.1d 10 Sep 2019
Doc guides: https://rabbitmq.com/documentation.html
Support: https://rabbitmq.com/contact.html
Tutorials: https://rabbitmq.com/getstarted.html
Monitoring: https://rabbitmq.com/monitoring.html
Logs: <stdout>
c:/Users/bakkenl/AppData/Roaming/RabbitMQ/log/rabbit@bakkenl-z01_upgrade.log
Config file(s): c:/Users/bakkenl/development/lukebakken/rabbitmq/conf/rabbitmq-min.con
RabbitMQ 3.10.5:
## ## RabbitMQ 3.10.5
## ##
########## Copyright (c) 2007-2022 VMware, Inc. or its affiliates.
###### ##
########## Licensed under the MPL 2.0. Website: https://rabbitmq.com
Erlang: 25.0 [jit]
TLS Library: OpenSSL - OpenSSL 1.1.1d 10 Sep 2019
Doc guides: https://rabbitmq.com/documentation.html
Support: https://rabbitmq.com/contact.html
Tutorials: https://rabbitmq.com/getstarted.html
Monitoring: https://rabbitmq.com/monitoring.html
Logs: <stdout>
c:/Users/bakkenl/AppData/Roaming/RabbitMQ/log/rabbit@bakkenl-z01_upgrade.log
Config file(s): c:/Users/bakkenl/development/lukebakken/rabbitmq/conf/rabbitmq-min.conf
This behavior appears to have changed with the 3.9.0 release. I'll continue investigating. cc @dumbbell
Aha, I found this code which demonstrates how to ensure the default main log file is used, just set a level for it:
loopback_users = none
log.console = true
log.file.level = info
I must be the only person to have noticed this since 3.9.x 😄
Closing since nobody else noticed 😆