Add support for log levels
michael-skiles-tfs opened this issue · 2 comments
michael-skiles-tfs commented
First off, thank you for your work on this project!
Currently, there does not appear to be a way to control the log level of the sshpiper
daemon, presenting a couple of issues:
- All start-up configuration, including the username/password for the database driver, are emitted to the logs on start.
- Every accepted TCP connection is logged, even if it is not a valid SSH connection. This means having to deal with a really polluted log file if you want to configure an external TCP health check to ensure the daemon is up and running.
Having the option to only emit these messages at a DEBUG
log level would be very useful!
tg123 commented
hmm totally agree. we have the same compliance issue, as a result, the upstream now is our private grpc version.
the logging driver now does not support it.
I am going to replace it and make log level available
michael-skiles-tfs commented
New log driver is working great - thank you!