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 send a SIGUSR1 signal to master process,
58       which  causes  it  to  reopen all log files configured in the log_path,
59       info_log_path and debug_log_path settings.  These settings are  config‐
60       ured in /etc/dovecot/conf.d/10-logging.conf.
61       The  master  process also signals the log process to do the same.  This
62       is mainly useful after manually rotating the log files.
63
64   log test
65       doveadm log test
66
67       This command causes doveadm to write the  message  "This  is  Dovecot's
68       priority log (timestamp)" to the configured log files.  The used prior‐
69       ities are: debug, info, warning, error and fatal.
70

EXAMPLE

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

REPORTING BUGS

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

SEE ALSO

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