mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-8656: log initialisation logging
This commit is contained in:
parent
d32d6a24a4
commit
afcdbc42ab
@ -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());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user