CLOUDSTACK-8656: log initialisation logging

This commit is contained in:
Daan Hoogland 2015-08-04 00:18:26 +02:00 committed by Daan Hoogland
parent d32d6a24a4
commit afcdbc42ab

View File

@ -89,6 +89,7 @@ public class UsageServer implements Daemon {
try {
Log4jConfigurer.initLogging(file.getAbsolutePath());
} catch (FileNotFoundException e) {
s_logger.info("[ignored] log initialisation ;)" + e.getLocalizedMessage(), e);
}
DOMConfigurator.configureAndWatch(file.getAbsolutePath());
@ -99,6 +100,7 @@ public class UsageServer implements Daemon {
try {
Log4jConfigurer.initLogging(file.getAbsolutePath());
} catch (FileNotFoundException e) {
s_logger.info("[ignored] log properties initialization :)" + e.getLocalizedMessage(), e);
}
PropertyConfigurator.configureAndWatch(file.getAbsolutePath());
}