/etc/rabbitmq/rabbitmq-env.conf using the LOG_BASE variable. Directory where i want the logs to go is /root/g3/log/rabbitmq . I have this directory created and set the permissions appropriately: ls /root/g3/log/
total 4
drwxrwxrwx. 2 rabbitmq rabbitmq 4096 Nov 19 02:25 rabbitmq
LOG_BASE=/root/g3/log/rabbitmq
BOOT FAILED
===========
Error description:
{error,
{cannot_log_to_file,"/root/g3/log/rabbitmq/rab...@epmp-pre-bat.log",
{error,
{cannot_create_parent_dirs,
"/root/g3/log/rabbitmq/rab...@epmp-pre-bat.log",eacces}}}}
Log files (may contain more information):
/root/g3/log/rabbitmq/rab...@epmp-pre-bat.log
/root/g3/log/rabbitmq/rab...@epmp-pre-bat-sasl.log
Stack trace:
[{rabbit,ensure_working_log_handler,5},
{rabbit,ensure_working_log_handlers,0},
{rabbit,'-boot/0-fun-0-',0},
{rabbit,start_it,1},
{init,start_it,1},
{init,start_em,1}]
{"init terminating in do_boot",{error,{cannot_log_to_file,"/root/g3/log/rabbitmq/rab...@epmp-pre-bat.log",{error,{cannot_create_parent_dirs,"/root/g3/log/rabbitmq/rab...@epmp-pre-bat.log",eacces}}}}}