charon-logging.opt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. charon.filelog {}
  2. Section to define file loggers, see LOGGER CONFIGURATION in
  3. **strongswan.conf**(5).
  4. charon.filelog.<name> { # }
  5. <name> may be the full path to the log file if it only contains
  6. characters permitted in section names. Is ignored if _path_ is specified.
  7. charon.filelog.<name>.path =
  8. Optional path to the log file. Overrides the section name. Must be used
  9. if the path contains characters that aren't allowed in section names.
  10. charon.filelog.<name>.default = 1
  11. Default loglevel.
  12. Specifies the default loglevel to be used for subsystems for which no
  13. specific loglevel is defined.
  14. charon.filelog.<name>.<subsystem> = <default>
  15. Loglevel for a specific subsystem.
  16. charon.filelog.<name>.append = yes
  17. If this option is enabled log entries are appended to the existing file.
  18. charon.filelog.<name>.flush_line = no
  19. Enabling this option disables block buffering and enables line buffering.
  20. charon.filelog.<name>.ike_name = no
  21. Prefix each log entry with the connection name and a unique numerical
  22. identifier for each IKE_SA.
  23. charon.filelog.<name>.time_format
  24. Prefix each log entry with a timestamp. The option accepts a format string
  25. as passed to **strftime**(3).
  26. charon.filelog.<name>.time_add_ms = no
  27. Adds the milliseconds within the current second after the timestamp
  28. (separated by a dot, so _time_format_ should end with %S or %T).
  29. charon.syslog {}
  30. Section to define syslog loggers, see LOGGER CONFIGURATION in
  31. **strongswan.conf**(5).
  32. charon.syslog.identifier
  33. Identifier for use with openlog(3).
  34. Global identifier used for an **openlog**(3) call, prepended to each log
  35. message by syslog. If not configured, **openlog**(3) is not called, so the
  36. value will depend on system defaults (often the program name).
  37. charon.syslog.<facility> { # }
  38. <facility> is one of the supported syslog facilities, see LOGGER
  39. CONFIGURATION in **strongswan.conf**(5).
  40. charon.syslog.<facility>.default = 1
  41. Default loglevel.
  42. Specifies the default loglevel to be used for subsystems for which no
  43. specific loglevel is defined.
  44. charon.syslog.<facility>.<subsystem> = <default>
  45. Loglevel for a specific subsystem.
  46. charon.syslog.<facility>.ike_name = no
  47. Prefix each log entry with the connection name and a unique numerical
  48. identifier for each IKE_SA.