This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cuiyiming-mesa-flexible-logger/sample/old/sample.conf
2018-08-12 19:11:04 +08:00

50 lines
1.9 KiB
Plaintext

## Do not modify
* GLOBAL:
FORMAT = "[%level|%datetime{%Y-%M-%d %H:%M:%s}]: %msg"
FILENAME = "myeasylog.log"
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = true
## Specifies subsecond precision (previously called 'milliseconds width'). Width can be within range (1-6)
## SUBSECOND_PRECISION = 6
## PERFORMANCE_TRACKING = true
## If log file size of corresponding level is >= specified size, log file will be truncated.
## MAX_LOG_FILE_SIZE = 2097152
## Specifies number of log entries to hold until we flush pending log data
## LOG_FLUSH_THRESHOLD = 100
## Do not modify
* FATAL:
FORMAT = "[%level|%datetime{%Y-%M-%d %H:%m:%s}]: %msg"
FILENAME = "./log1/fatal_log_%datetime{%Y-%M-%d}"
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = true
##SUBSECOND_PRECISION = 6
##PERFORMANCE_TRACKING = true
##MAX_LOG_FILE_SIZE = 2097152 ## 2MB
##LOG_FLUSH_THRESHOLD = 100 ## Flush after every 100 logs
* INFO:
FORMAT = "[%level|%datetime{%Y-%M-%d %H:%m:%s}]: %msg"
FILENAME = "./log1/info_log_%datetime{%Y-%M-%d}"
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = false
##SUBSECOND_PRECISION = 6
##PERFORMANCE_TRACKING = true
##MAX_LOG_FILE_SIZE = 2097152 ## 2MB
##LOG_FLUSH_THRESHOLD = 100 ## Flush after every 100 logs
* DEBUG:
FORMAT = "[%level|%datetime{%Y-%M-%d %H:%m:%s}]: %msg"
FILENAME = "./log1/debug_log_%datetime{%Y-%M-%d}"
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = false
##SUBSECOND_PRECISION = 6
##PERFORMANCE_TRACKING = true
##MAX_LOG_FILE_SIZE = 2097152 ## 2MB - Comment starts with two hashes (##)
##LOG_FLUSH_THRESHOLD = 100 ## Flush after every 100 logs