emqx/examples/log.console.conf.example

28 lines
945 B
Plaintext

##--------------------------------------------------------------------
## Log
##
## Configure the log output location, log level, log file storage path, and parameters
##--------------------------------------------------------------------
## Note: This is an example of how to configure this feature
## you should copy and paste the below data into the emqx.conf for working
log.console {
## set true to enable this
enable = false
## Log level
## Type: debug | info | notice | warning | error | critical | alert | emergency
level = warning
## Log formatter, text for free text, and json for structured logging
## Type: text | json
formatter = text
## Time offset for formatting the timestamp
## Type:
## - system :: local system time
## - utc :: UTC time
## - +-[hh]:[mm]: user specified time offset, such as "-02:00" or "+00:00" Defaults to: system
time_offset = system
}