Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Shervin Nourbakhsh
cameo
Commits
80ea3bf1
Commit
80ea3bf1
authored
Apr 07, 2020
by
legoc
Browse files
Reviewed log level to INFO and changed level of two log lines
parent
ec8c969d
Changes
2
Hide whitespace changes
Inline
Side-by-side
cameo-server/src/main/java/fr/ill/ics/cameo/manager/LogInfo.java
View file @
80ea3bf1
...
...
@@ -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
.
F
IN
E
);
fileHandler
.
setLevel
(
Level
.
IN
FO
);
logger
.
addHandler
(
fileHandler
);
if
(
ConfigManager
.
getInstance
().
isDebugMode
())
{
...
...
cameo-server/src/main/java/fr/ill/ics/cameo/manager/Manager.java
View file @
80ea3bf1
...
...
@@ -59,7 +59,7 @@ public class Manager extends ConfigLoader {
public
Manager
(
String
xmlPath
)
{
super
(
xmlPath
);
LogInfo
.
getInstance
().
init
();
LogInfo
.
getInstance
().
getLogger
().
f
in
e
(
"Endpoint is "
+
ConfigManager
.
getInstance
().
getHostEndpoint
());
LogInfo
.
getInstance
().
getLogger
().
in
fo
(
"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
().
f
in
e
(
"Endpoint is "
+
ConfigManager
.
getInstance
().
getHostEndpoint
());
LogInfo
.
getInstance
().
getLogger
().
in
fo
(
"Endpoint is "
+
ConfigManager
.
getInstance
().
getHostEndpoint
());
showApplicationConfigs
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment