Change logger string

This commit is contained in:
Mark Vainomaa 2016-10-02 16:25:28 +03:00
parent e0a9e3bda5
commit 5e80886410
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ public class EtcdHTTPConnector extends EtcdConnectorBase implements EtcdConnecto
super();
/* Set up logger */
logger = LoggerFactory.getLogger("EtcdConnector");
logger = LoggerFactory.getLogger(this.getClass());
/* Initialize client */
initClient(etcdUrls);

View File

@ -15,7 +15,7 @@ public class EtcdSSLConnector extends EtcdConnectorBase implements EtcdConnector
super();
/* Set up logger */
logger = LoggerFactory.getLogger("EtcdConnector");
logger = LoggerFactory.getLogger(this.getClass());
/* Initialize client */
initClient(etcdUrls);