log.console.conf.example 945 B

123456789101112131415161718192021222324252627
  1. ##--------------------------------------------------------------------
  2. ## Log
  3. ##
  4. ## Configure the log output location, log level, log file storage path, and parameters
  5. ##--------------------------------------------------------------------
  6. ## Note: This is an example of how to configure this feature
  7. ## you should copy and paste the below data into the emqx.conf for working
  8. log.console {
  9. ## set true to enable this
  10. enable = false
  11. ## Log level
  12. ## Type: debug | info | notice | warning | error | critical | alert | emergency
  13. level = warning
  14. ## Log formatter, text for free text, and json for structured logging
  15. ## Type: text | json
  16. formatter = text
  17. ## Time offset for formatting the timestamp
  18. ## Type:
  19. ## - system :: local system time
  20. ## - utc :: UTC time
  21. ## - +-[hh]:[mm]: user specified time offset, such as "-02:00" or "+00:00" Defaults to: system
  22. time_offset = system
  23. }