You are here

jsonlog.schema.yml in JSONlog 8

config/schema/jsonlog.schema.yml

File

config/schema/jsonlog.schema.yml
View source
  1. # Schema for the configuration files of the jsonlog module.
  2. jsonlog.settings:
  3. type: config_object
  4. label: 'Jsonlog settings'
  5. mapping:
  6. jsonlog_severity_threshold:
  7. type: integer
  8. label: 'Do not log events that are less severe than'
  9. jsonlog_truncate:
  10. type: integer
  11. label: 'Truncate events to'
  12. jsonlog_siteid:
  13. type: string
  14. label: 'Site ID'
  15. jsonlog_canonical:
  16. type: string
  17. label: 'Canonical site name'
  18. jsonlog_file_time:
  19. type: string
  20. label: 'Timestamped log file name'
  21. jsonlog_dir:
  22. type: string
  23. label: 'Log directory'
  24. jsonlog_newline_prepend:
  25. type: boolean
  26. # Nullable because is addition to original schema.
  27. # Null default, see Drupal\jsonlog\Logger\JsonLog::JSONLOG_NEWLINE_PREPEND
  28. nullable: true
  29. label: 'Prepend newline when filing log entry'
  30. jsonlog_tags:
  31. type: string
  32. label: 'Tags'