-
Notifications
You must be signed in to change notification settings - Fork 8
/
logging.conf
58 lines (54 loc) · 1.54 KB
/
logging.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
akka {
loggers = [com.persist.logging.AkkaLogger]
loglevel = warning
actor {
debug {
lifecycle = off
}
}
}
com.persist {
logging {
appenders {
file {
// Include standard headers
fullHeaders = true
// Sort the fields in Json objects
sorted = true
// Directory to hold log files
logPath = "target/log"
// Include the service name as a sub-directory for logs
serviceInPath = false
// Common log messages below this level are removed, none removed when set to trace
logLevelLimit = trace
}
stdout {
// Include standard headers
fullHeaders = false
// Use colors for log levels
color = true
// The maximum number of character that should be on a line
// This is only a goal; in practice some may contain more characters.
width = 80
// Print summary counts when logger is closed
summary = true
// pretty output - multiple line json
pretty = true
// Messages below this level are removed, none removed when set to trace
logLevelLimit = trace
// false Json output; true simple one line text output
oneLine = false
}
}
// Log level for logger API
logLevel = warn
// Log level for slf4j messages
slf4jLogLevel = error
// Log level for Akka messages, should be >= akka.loglevel
akkaLogLevel = error
// Enable timing logging
time = false
//Enable garbage collection loggign
gc = false
}
}