Upstream configuration (as of 1:2.0.19-0ubuntu1)
[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
63 # Space-separated list of elements we want to log. The elements which have
64 # a non-empty variable value are joined together to form a comma-separated
65 # string.
66 #login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
67
68 # Login log format. %$ contains login_log_format_elements string, %s contains
69 # the data we want to log.
70 #login_log_format = %$: %s
71  
72 # Log prefix for mail processes. See doc/wiki/Variables.txt for list of
73 # possible variables you can use.
74 #mail_log_prefix = "%s(%u): "
75
76 # Format to use for logging mail deliveries. You can use variables:
77 #  %$ - Delivery status message (e.g. "saved to INBOX")
78 #  %m - Message-ID
79 #  %s - Subject
80 #  %f - From address
81 #  %p - Physical size
82 #  %w - Virtual size
83 #deliver_log_format = msgid=%m: %$