HEX
Server: LiteSpeed
System: Linux server.searchcove.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: lurax (1083)
PHP: 8.3.30
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/share/man/man1/doveadm-log.1
.TH "DOVEADM-LOG" "1" "October 2025" "65dfbff" "Dovecot"
.SH "NAME"
\fBdoveadm-log\fR - Locate, test or reopen Dovecot's log files
.SH "SYNOPSIS"
.P
\fBdoveadm\fR \[lB]\fIGLOBAL OPTIONS\fR\[rB] \fBlog errors\fR \[lB]\fB-s\fR \fImin_timestamp\fR\[rB]
.P
\fBdoveadm\fR \[lB]\fIGLOBAL OPTIONS\fR\[rB] \fBlog find\fR \[lB]\fIdirectory\fR\[rB]
.P
\fBdoveadm\fR \[lB]\fIGLOBAL OPTIONS\fR\[rB] \fBlog reopen\fR
.P
\fBdoveadm\fR \[lB]\fIGLOBAL OPTIONS\fR\[rB] \fBlog test\fR
.SH "DESCRIPTION"
.P
 are used to locate and reopen the log files of dovecot(1). It's also possible to test the configured targets of the 
.SH "GLOBAL OPTIONS"
.P
Global doveadm(1) 
.P
\fB-D\fR
.RS 0
.RS 4
.P
Enables \fIverbosity\fR and debug messages.
.RE 0

.RE 0

.P
\fB-O\fR
.RS 0
.RS 4
.P
Do not read any config file, just use defaults. The \fBdovecot_storage_version\fR setting defaults to the latest version, but can be overridden with 
.RE 0

.RE 0

.P
\fB-k\fR
.RS 0
.RS 4
.P
Preserve entire environment for doveadm, not just \fBimport_environment\fR setting.
.RE 0

.RE 0

.P
\fB-v\fR
.RS 0
.RS 4
.P
Enables verbosity, including progress counter.
.RE 0

.RE 0

.P
\fB-i\fR \fIinstance-name\fR
.RS 0
.RS 4
.P
If using multiple Dovecot instances, choose the config file based on this instance name.
.P
See \fBinstance_name\fR setting for more information.
.RE 0

.RE 0

.P
\fB-c\fR \fIconfig-file\fR
.RS 0
.RS 4
.P
Read configuration from the given \fIconfig-file\fR. By default it first reads config socket, and then falls back to \fI/etc/dovecot/dovecot.conf\fR. You can also point this to config socket of some instance running compatible version.
.RE 0

.RE 0

.P
\fB-o\fR \fIsetting\fR\fB=\fR\fIvalue\fR
.RS 0
.RS 4
.P
Overrides the configuration \fIsetting\fR from \fI/etc/dovecot/dovecot.conf\fR and from the userdb with the given \fIvalue\fR. In order to override multiple settings, the \fB-o\fR option may be specified multiple times.
.RE 0

.RE 0

.SH "COMMANDS"
.SS "log errors"
.P
\fBdoveadm\fR \[lB]\fIGLOBAL OPTIONS\fR\[rB] log errors \[lB]\fB-s\fR \fImin_timestamp\fR\[rB]
.P
The \fBlog errors\fR command is used to show the last - up to 1,000 - errors and warnings. If no output is generated, no errors have occurred since the last start.
.P
\fB-s\fR \fImin_timestamp\fR
.RS 0
.RS 4
.P
An integer value, representing seconds since the epoch - also known as Unix timestamp. When a min_timestamp was given, doveadm(1) will only show errors occurred since that point in time.
.RE 0

.RE 0

.SS "log find"
.P
\fBdoveadm\fR \[lB]\fIGLOBAL OPTIONS\fR\[rB] log find \[lB]\fIdirectory\fR\[rB]
.P
 command is used to show the location of the log files, to which dovecot(1) logs its messages through 
.SS "log reopen"
.P
\fBdoveadm\fR \[lB]\fIGLOBAL OPTIONS\fR\[rB] log reopen
.P
This command causes \fBdoveadm\fR to send a SIGUSR1 signal to master process, which causes it to reopen all log files configured in the \fIlog_path\fR, \fIinfo_log_path\fR and \fIdebug_log_path\fR settings. These settings are configured in \fI/etc/dovecot/conf.d/10-logging.conf\fR.
.P
The master process also signals the log process to do the same. This is mainly useful after manually rotating the log files.
.SS "log test"
.P
\fBdoveadm\fR \[lB]\fIGLOBAL OPTIONS\fR\[rB] log test
.P
This command causes \fBdoveadm\fR to write the message "This is Dovecot's \fIpriority\fR log (\fItimestamp\fR)" to the configured log files. The used priorities are: \fBdebug\fR, \fBinfo\fR, \fBwarning\fR, \fBerror\fR and \fBfatal\fR.
.SH "EXAMPLE"
.P
This example shows how to locate the log files used by dovecot(1):
.P
.RS 2
.nf
doveadm log find
.fi
.RE
.P
.RS 2
.nf
Looking for log files from /var/log
Debug: /var/log/dovecot.debug
Info: /var/log/mail.log
Warning: /var/log/mail.log
Error: /var/log/mail.log
Fatal: /var/log/mail.log
.fi
.RE
.SH "REPORTING BUGS"
.P
Report bugs, including \fIdoveconf -n\fR output, to the Dovecot Mailing List \fI\(ladovecot@dovecot.org\(ra\fR. Information about reporting bugs is available at: https://dovecot.org/bugreport.html
.SH "SEE ALSO"
.P
doveadm(1)