1DOVEADM-LOG(1)                      Dovecot                     DOVEADM-LOG(1)
2
3
4

NAME

6       doveadm-log - Locate, test or reopen Dovecot's log files
7

SYNOPSIS

9       doveadm [-Dv] log errors [-s min_timestamp]
10       doveadm [-Dv] log find [directory]
11       doveadm [-Dv] log reopen
12       doveadm [-Dv] log test
13

DESCRIPTION

15       The doveadm log commands are used to locate and reopen the log files of
16       dovecot(1).  It's also possible to test the configured targets  of  the
17       *log_path settings.
18

OPTIONS

20       Global doveadm(1) options:
21
22       -D     Enables verbosity and debug messages.
23
24       -o setting=value
25              Overrides  the  configuration  setting  from  /etc/dovecot/dove‐
26              cot.conf and from the userdb with the given value.  In order  to
27              override  multiple settings, the -o option may be specified mul‐
28              tiple times.
29
30       -v     Enables verbosity, including progress counter.
31

COMMANDS

33   log errors
34       doveadm log errors [-s min_timestamp]
35
36       The log errors command is used to show the last  - up to 1,000 - errors
37       and warnings.  If no output is generated, no errors have occurred since
38       the last start.
39
40       -s min_timestamp
41              An integer value, representing seconds since the  epoch  -  also
42              known  as  Unix  timestamp.   When  a  min_timestamp  was given,
43              doveadm(1) will only show errors occurred since  that  point  in
44              time.
45
46   log find
47       doveadm log find [directory]
48
49       The  log find command is used to show the location of the log files, to
50       which dovecot(1) sends its log messages.  If dovecot(1) logs  its  mes‐
51       sages  through  syslogd(8) and doveadm(1) could not find any log files,
52       you can specify the directory where your syslogd writes its log files.
53
54   log reopen
55       doveadm log reopen
56
57       This command causes doveadm to reopen all log files, configured in  the
58       log_path,  info_log_path  and  debug_log_path settings.  These settings
59       are configured in /etc/dovecot/conf.d/10-logging.conf.
60       This is for example useful after manually rotating the log files.
61
62   log test
63       doveadm log test
64
65       This command causes doveadm to write the  message  "This  is  Dovecot's
66       priority log (timestamp)" to the configured log files.  The used prior‐
67       ities are: debug, info, warning, error and fatal.
68

EXAMPLE

70       This example shows how to locate the log files used by dovecot(1).
71
72       doveadm log find
73       Looking for log files from /var/log
74       Debug: /var/log/dovecot.debug
75       Info: /var/log/mail.log
76       Warning: /var/log/mail.log
77       Error: /var/log/mail.log
78       Fatal: /var/log/mail.log
79

REPORTING BUGS

81       Report bugs, including doveconf -n output, to the Dovecot Mailing  List
82       <dovecot@dovecot.org>.   Information  about reporting bugs is available
83       at: http://dovecot.org/bugreport.html
84

SEE ALSO

86       doveadm(1)
87
88
89
90Dovecot v2.3                      2013-11-24                    DOVEADM-LOG(1)
Impressum