forked from amino-os/Amino.Run
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogging.properties
More file actions
37 lines (27 loc) · 1.71 KB
/
Copy pathlogging.properties
File metadata and controls
37 lines (27 loc) · 1.71 KB
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
#################################################################################
# Default logging configuration
# For a more detailed explanation of the contents of this file see:
# https://docs.oracle.com/javase/8/docs/technotes/guides/logging/overview.html
# and http://tutorials.jenkov.com/java-logging/configuration.html
#################################################################################
# Log to both file and console
handlers = java.util.logging.FileHandler, java.util.logging.ConsoleHandler
# Individual loggers can be customized like this.
# "amino.run.kernel.server.KernelServerImpl".handlers =
# "amino.run.kernel.server.KernelServerImpl".useParentHandlers =
# "amino.run.kernel.server.KernelServerImpl".level =
# etc
# Override defaults for all uncustomized loggers, by type
# Limit log level in log files to INFO and higher, so they're not too verbose
# Valid values are OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST
java.util.logging.FileHandler.level = INFO
# Simple text logs instead of the default XML logs.
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
# Rotate log files after this many log entries, rather than the default unlimited growth.
java.util.logging.FileHandler.limit = 50000
# Cycle through 10 log files, rather than the default 1
java.util.logging.FileHandler.count = 10
# Place our log files in the system temporary (%t) directory (typically
# C:\TEMP on Windows, /var/tmp on Linux, $TMPDIR on OS X etc) rather than the default "%h/java%u.log"
java.util.logging.FileHandler.pattern = %t/amino.run.%u.%g.log
java.util.logging.ConsoleHandler.level = INFO