Temporarily adding ucf-dist files
[sysconfig/dovecot.git] / conf.d / 10-logging.conf.ucf-dist
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 # You can also truncate the value to n chars by appending ":n" (e.g. sha1:6).
30 #auth_verbose_passwords = no
31
32 # Even more verbose logging for debugging purposes. Shows for example SQL
33 # queries.
34 #auth_debug = no
35
36 # In case of password mismatches, log the passwords and used scheme so the
37 # problem can be debugged. Enabling this also enables auth_debug.
38 #auth_debug_passwords = no
39
40 # Enable mail process debugging. This can help you figure out why Dovecot
41 # isn't finding your mails.
42 #mail_debug = no
43
44 # Show protocol level SSL errors.
45 #verbose_ssl = no
46
47 # mail_log plugin provides more event logging for mail processes.
48 plugin {
49   # Events to log. Also available: flag_change append
50   #mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
51   # Available fields: uid, box, msgid, from, subject, size, vsize, flags
52   # size and vsize are available only for expunge and copy events.
53   #mail_log_fields = uid box msgid size
54 }
55
56 ##
57 ## Log formatting.
58 ##
59
60 # Prefix for each line written to log file. % codes are in strftime(3)
61 # format.
62 #log_timestamp = "%b %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. %s contains login_log_format_elements string, %$ 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. See doc/wiki/Variables.txt for
78 # list of all variables you can use. Some of the common ones include:
79 #  %$ - Delivery status message (e.g. "saved to INBOX")
80 #  %m - Message-ID
81 #  %s - Subject
82 #  %f - From address
83 #  %p - Physical size
84 #  %w - Virtual size
85 #deliver_log_format = msgid=%m: %$