-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LogLevel not being honored #24
Comments
Hi, That is just showing you that the daemon is running as root, which is also normal. The current version of lsmcd (1.4.29) does not log that any more, it logs in brackets the PID of the worker that processes the request, as the user is constant. Its just a message that a login for any user failed. If you'd like we could make the message a notice message and display the failed user name, if you think that would be helpful. That way you could suppress the messages by setting the loglevel for warning. Thanks, Bob |
Hello, I actually managed to pinpoint the actual user generating the messages by stracing the lsmcd pid and the client's site was there just before the error message, however what you are suggesting would be very helpful indeed. Thanks! |
If you'll validate it, I'll release it sooner. Just need someone in the field to take a look at it and make sure they're happy. Bob |
Setting LogLevel=notice to /usr/local/lsmcd/conf/node.conf is not honored and the /tmp/lsmcd.log still gets bombarded by ERROR messages such as
2021-11-06 21:54:03.636 [ERROR] [__root] Successful SASL authentication not performed
Relevant conf lines:
LogLevel=notice
LogFile=/tmp/lsmcd.log
Restarted lsmcd by
/usr/local/lsmcd/bin/lsmcdctrl stop
rm -rf /dev/shm/lsmcd
/usr/local/lsmcd/bin/lsmcdctrl start
Can you tell me why are ERROR messages getting included in the log and how to discern what user is trying to run as root
Thanks in advance.
The text was updated successfully, but these errors were encountered: