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