SshDaemon: Fix logging
All logging of this class should be done through the locally defined 'sshDaemonLog' Logger (and not through the inherited 'log' Logger from AbstractLoggingBean). Change-Id: I2d1031fe51601f11911b110c482482ff2482ce1a Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -670,7 +670,7 @@ public class SshDaemon extends SshServer implements SshInfo, LifecycleListener {
|
|||||||
List<NamedFactory<UserAuth>> authFactories = new ArrayList<>();
|
List<NamedFactory<UserAuth>> authFactories = new ArrayList<>();
|
||||||
if (kerberosKeytab != null) {
|
if (kerberosKeytab != null) {
|
||||||
authFactories.add(UserAuthGSSFactory.INSTANCE);
|
authFactories.add(UserAuthGSSFactory.INSTANCE);
|
||||||
log.info("Enabling kerberos with keytab " + kerberosKeytab);
|
sshDaemonLog.info("Enabling kerberos with keytab " + kerberosKeytab);
|
||||||
if (!new File(kerberosKeytab).canRead()) {
|
if (!new File(kerberosKeytab).canRead()) {
|
||||||
sshDaemonLog.error(
|
sshDaemonLog.error(
|
||||||
"Keytab "
|
"Keytab "
|
||||||
|
|||||||
Reference in New Issue
Block a user