Thomas Landauer via Postfix-users:
> When setting it to 6, I'm getting this in my logfile:
> 
> > delays=0.12/0.00058/0/0.023

The 0 is consistent with the text that says "delay values below the
delay_logging_resolution_limit are logged as 0".

The 0.12, 0.023, and 0.00058 have two significant digits. That is
consistent with the text that says "delay values under 100s are
logged with at most two-digit precision" and "the maximal number
of digits (here, 6) after the decimal point when logging sub-second
delay values".

> But all theses values are "under 100s"; should this be something like 
> "delay values over 0.1 are logged with at most two-digit precision"?

Obviously not. If the delay is 123.456 seconds, then it will be
logged as 123 (three-digit precision).

> Besides, it looks like the parameter doesn't refer to the "number of 
> digits after the decimal point", but rather the total digits (before 
> plus after the comma).

That is an incorrect inference based on the wrong evidence.

Here is an example of inputs and outputs:

    input               output
    ==========================
    123456              123456
    12345.6             12346
    1234.56             1235
    123.456             123
    12.3456             12
    1.23456             1.2
    0.123456            0.12
    0.0123456           0.012
    0.00123456          0.0012
    0.000123456         0.00012
    0.0000123456        0.000012
    0.00000123456       0.000001
    0.000000123456      0

Numbers below 100 have at most two-digit precision, and no more
than six digits after the decimal point.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to