GUACAMOLE-1218: Use static instances of Logger per established coding practices.

This commit is contained in:
Michael Jumper
2020-11-29 16:16:44 -08:00
parent 95c4bb427f
commit 27d791de3b
4 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ public class RequestValidationService {
/** /**
* Logger for this class. * Logger for this class.
*/ */
private final Logger logger = LoggerFactory.getLogger(RequestValidationService.class); private static final Logger logger = LoggerFactory.getLogger(RequestValidationService.class);
/** /**
* Service for retrieving configuration information regarding the * Service for retrieving configuration information regarding the

View File

@@ -56,7 +56,7 @@ public class ConnectionService {
/** /**
* Logger for this class. * Logger for this class.
*/ */
private final Logger logger = LoggerFactory.getLogger(ConnectionService.class); private static final Logger logger = LoggerFactory.getLogger(ConnectionService.class);
/** /**
* The Guacamole server environment. * The Guacamole server environment.

View File

@@ -38,7 +38,7 @@ public class UserDataDenylist {
/** /**
* Logger for this class. * Logger for this class.
*/ */
private final Logger logger = LoggerFactory.getLogger(UserDataDenylist.class); private static final Logger logger = LoggerFactory.getLogger(UserDataDenylist.class);
/** /**
* All denylisted UserData objects, stored by their associated * All denylisted UserData objects, stored by their associated

View File

@@ -56,7 +56,7 @@ public class UserDataService {
/** /**
* Logger for this class. * Logger for this class.
*/ */
private final Logger logger = LoggerFactory.getLogger(UserDataService.class); private static final Logger logger = LoggerFactory.getLogger(UserDataService.class);
/** /**
* ObjectMapper for deserializing UserData objects. * ObjectMapper for deserializing UserData objects.