10-logging.conf.erb 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. ##
  2. ## Log destination.
  3. ##
  4. # Log file to use for error messages. "syslog" logs to syslog,
  5. # /dev/stderr logs to stderr.
  6. #log_path = syslog
  7. # Log file to use for informational messages. Defaults to log_path.
  8. #info_log_path =
  9. # Log file to use for debug messages. Defaults to info_log_path.
  10. #debug_log_path =
  11. # Syslog facility to use if you're logging to syslog. Usually if you don't
  12. # want to use "mail", you'll use local0..local7. Also other standard
  13. # facilities are supported.
  14. #syslog_facility = mail
  15. ##
  16. ## Logging verbosity and debugging.
  17. ##
  18. # Log unsuccessful authentication attempts and the reasons why they failed.
  19. #auth_verbose = no
  20. # In case of password mismatches, log the attempted password. Valid values are
  21. # no, plain and sha1. sha1 can be useful for detecting brute force password
  22. # attempts vs. user simply trying the same password over and over again.
  23. #auth_verbose_passwords = no
  24. # Even more verbose logging for debugging purposes. Shows for example SQL
  25. # queries.
  26. #auth_debug = no
  27. # In case of password mismatches, log the passwords and used scheme so the
  28. # problem can be debugged. Enabling this also enables auth_debug.
  29. #auth_debug_passwords = no
  30. # Enable mail process debugging. This can help you figure out why Dovecot
  31. # isn't finding your mails.
  32. #mail_debug = no
  33. # Show protocol level SSL errors.
  34. #verbose_ssl = no
  35. # mail_log plugin provides more event logging for mail processes.
  36. plugin {
  37. # Events to log. Also available: flag_change append
  38. #mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  39. # Available fields: uid, box, msgid, from, subject, size, vsize, flags
  40. # size and vsize are available only for expunge and copy events.
  41. #mail_log_fields = uid box msgid size
  42. }
  43. ##
  44. ## Log formatting.
  45. ##
  46. # Prefix for each line written to log file. % codes are in strftime(3)
  47. # format.
  48. #log_timestamp = "%b %d %H:%M:%S "
  49. # Space-separated list of elements we want to log. The elements which have
  50. # a non-empty variable value are joined together to form a comma-separated
  51. # string.
  52. #login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
  53. # Login log format. %$ contains login_log_format_elements string, %s contains
  54. # the data we want to log.
  55. #login_log_format = %$: %s
  56. # Log prefix for mail processes. See doc/wiki/Variables.txt for list of
  57. # possible variables you can use.
  58. #mail_log_prefix = "%s(%u): "
  59. # Format to use for logging mail deliveries. You can use variables:
  60. # %$ - Delivery status message (e.g. "saved to INBOX")
  61. # %m - Message-ID
  62. # %s - Subject
  63. # %f - From address
  64. # %p - Physical size
  65. # %w - Virtual size
  66. #deliver_log_format = msgid=%m: %$