X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=conf.d%2F10-logging.conf;h=cf49e8611838bc8ab243d81e844b1c8c66caeecc;hb=146dd93649e655f1bad2fd48c094bef60bf4e7bd;hp=ac6c82732ade5f53b412c777ccae414e0d35aae4;hpb=02f40af4ac9fee81306c5d0182fa4c480c1a22f5;p=sysconfig%2Fdovecot.git diff --git a/conf.d/10-logging.conf b/conf.d/10-logging.conf index ac6c827..cf49e86 100644 --- a/conf.d/10-logging.conf +++ b/conf.d/10-logging.conf @@ -26,6 +26,7 @@ # In case of password mismatches, log the attempted password. Valid values are # no, plain and sha1. sha1 can be useful for detecting brute force password # attempts vs. user simply trying the same password over and over again. +# You can also truncate the value to n chars by appending ":n" (e.g. sha1:6). #auth_verbose_passwords = no # Even more verbose logging for debugging purposes. Shows for example SQL @@ -59,13 +60,14 @@ plugin { # Prefix for each line written to log file. % codes are in strftime(3) # format. #log_timestamp = "%b %d %H:%M:%S " +log_timestamp = "%Y-%m-%d %H:%M:%S " # Space-separated list of elements we want to log. The elements which have # a non-empty variable value are joined together to form a comma-separated # string. #login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c -# Login log format. %$ contains login_log_format_elements string, %s contains +# Login log format. %s contains login_log_format_elements string, %$ contains # the data we want to log. #login_log_format = %$: %s