LDAP log (after change from logger: to macros) writing only in main log.
bug
### Describe the bug
RMQ 4.3.0/ In classic config format, i described the ldap category. LDAP log file creating, but log writing only in main log. This was started after transfer logger: to macros ?LOG .
My temporary solution:
Change macros LOG_WARING, LOG_INFO, LOG_DEBUG back into logger:debug, logger:info, logger:warning in deps\rabbitmq_auth_backend_ldap\src\rabbit_auth_backend_ldap.erl and create rabbit_log_ldap.erl (from earlier version of RabbtiMQ). After compiling, LDAP logs writing in category log file, main log stay clean.
### Reproduction steps
1. Create config in classic format, describe ldap category with some log file
2. Start RMQ
3. Make sure that the ldap log file is empty
### Expected behavior
LDAP log should be written into the category log file.
### Additional context
_No response_
0 条评论