charon-logging.conf 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. charon {
  2. # Section to define file loggers, see LOGGER CONFIGURATION in
  3. # strongswan.conf(5).
  4. filelog {
  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
  7. # specified.
  8. # <name> {
  9. # Loglevel for a specific subsystem.
  10. # <subsystem> = <default>
  11. # If this option is enabled log entries are appended to the existing
  12. # file.
  13. # append = yes
  14. # Default loglevel.
  15. # default = 1
  16. # Enabling this option disables block buffering and enables line
  17. # buffering.
  18. # flush_line = no
  19. # Prefix each log entry with the connection name and a unique
  20. # numerical identifier for each IKE_SA.
  21. # ike_name = no
  22. # Optional path to the log file. Overrides the section name. Must be
  23. # used if the path contains characters that aren't allowed in
  24. # section names.
  25. # path =
  26. # Adds the milliseconds within the current second after the
  27. # timestamp (separated by a dot, so time_format should end with %S
  28. # or %T).
  29. # time_add_ms = no
  30. # Prefix each log entry with a timestamp. The option accepts a
  31. # format string as passed to strftime(3).
  32. # time_format =
  33. # }
  34. }
  35. # Section to define syslog loggers, see LOGGER CONFIGURATION in
  36. # strongswan.conf(5).
  37. syslog {
  38. # Identifier for use with openlog(3).
  39. # identifier =
  40. # <facility> is one of the supported syslog facilities, see LOGGER
  41. # CONFIGURATION in strongswan.conf(5).
  42. # <facility> {
  43. # Loglevel for a specific subsystem.
  44. # <subsystem> = <default>
  45. # Default loglevel.
  46. # default = 1
  47. # Prefix each log entry with the connection name and a unique
  48. # numerical identifier for each IKE_SA.
  49. # ike_name = no
  50. # }
  51. }
  52. }