Commit 80ea3bf1 authored by legoc's avatar legoc
Browse files

Reviewed log level to INFO and changed level of two log lines

parent ec8c969d
......@@ -62,10 +62,10 @@ public final class LogInfo {
if (!logDirectory.exists()) {
logDirectory.mkdir();
}
FileHandler fileHandler = new FileHandler(ConfigManager.getInstance().getLogPath() + "/cameo.log", false);
fileHandler.setFormatter(new LogFormatter());
fileHandler.setLevel(Level.FINE);
fileHandler.setLevel(Level.INFO);
logger.addHandler(fileHandler);
if (ConfigManager.getInstance().isDebugMode()) {
......
......@@ -59,7 +59,7 @@ public class Manager extends ConfigLoader {
public Manager(String xmlPath) {
super(xmlPath);
LogInfo.getInstance().init();
LogInfo.getInstance().getLogger().fine("Endpoint is " + ConfigManager.getInstance().getHostEndpoint());
LogInfo.getInstance().getLogger().info("Endpoint is " + ConfigManager.getInstance().getHostEndpoint());
showApplicationConfigs();
......@@ -76,7 +76,7 @@ public class Manager extends ConfigLoader {
public Manager(InputStream configStream) {
super(configStream);
LogInfo.getInstance().init();
LogInfo.getInstance().getLogger().fine("Endpoint is " + ConfigManager.getInstance().getHostEndpoint());
LogInfo.getInstance().getLogger().info("Endpoint is " + ConfigManager.getInstance().getHostEndpoint());
showApplicationConfigs();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment