Chris
2013-Sep-04 18:29 UTC
[Dovecot] login_log_format_elements does not appear to be changing log format 2.2.5
Hi, login_log_format_elements does not seem to change the login logs. I have it set to the below setting and the word "home" does not even appear. Is there something I have to do to for this? Also I use ldap for authentication. [user at MB1 logs]$ doveconf -n | grep -i log debug_log_path = /home/user/apps/logs/dovecot_debug.log info_log_path = /home/user/apps/logs/dovecot_info.log log_path = /home/user/apps/logs/dovecot.log login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c home=%h service imap-login { chroot = login executable = imap-login type = login user = $default_login_user [user at MB1 dovecot]$ tail -1 ~/apps/logs/dovecot_info.log Sep 04 18:19:55 imap-login: Info: Login: user=<test2 at domain.local>, method=PLAIN, rip=10.100.5.6, lip=10.100.5.103, mpid=6571 [user at MB1 dovecot]$ dovecot --version 2.2.5
Timo Sirainen
2013-Sep-22 00:48 UTC
[Dovecot] login_log_format_elements does not appear to be changing log format 2.2.5
On 4.9.2013, at 21.29, Chris <vorgusa at gmail.com> wrote:> login_log_format_elements does not seem to change the login logs. I have it set to the below setting and the word "home" does not even appear. Is there something I have to do to for this? Also I use ldap for authentication.%h isn't a valid variable in there. It expands to empty, so it's not added to the log. There's no way to log the home directory in there, because auth process doesn't send it to the login process (and actually it hasn't even gotten around to looking it up at that point).