Logging microseconds? us= numbers
Posted: Wed Jul 13, 2022 6:18 pm
I was reviewing my logs and thought they looked a little noisy.....
Jul 13 13:11:04 asdf openvpn: Wed Jul 13 13:11:04 2022 us=429137 dddd/72.8.1.1:59385 Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Jul 13 13:11:04 asdf openvpn: Wed Jul 13 13:11:04 2022 us=429217 dddd/72.8.1.1:59385 Incoming Data Channel: Cipher 'BF-CBC' initialized with 128 bit key
Jul 13 13:11:04 asdf openvpn: Wed Jul 13 13:11:04 2022 us=429235 dddd/72.8.1.1:59385 WARNING: blahblah
How do I prevent the duplicate timestamp?
How do I suppress the us= field (logging microseconds)?
Are those microseconds since the logged action started? Or the duration that logged action took? Or is it meant as a decimal after the second field of the timestamp, 04 in this example?
Jul 13 13:11:04 asdf openvpn: Wed Jul 13 13:11:04 2022 us=429137 dddd/72.8.1.1:59385 Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Jul 13 13:11:04 asdf openvpn: Wed Jul 13 13:11:04 2022 us=429217 dddd/72.8.1.1:59385 Incoming Data Channel: Cipher 'BF-CBC' initialized with 128 bit key
Jul 13 13:11:04 asdf openvpn: Wed Jul 13 13:11:04 2022 us=429235 dddd/72.8.1.1:59385 WARNING: blahblah
How do I prevent the duplicate timestamp?
How do I suppress the us= field (logging microseconds)?
Are those microseconds since the logged action started? Or the duration that logged action took? Or is it meant as a decimal after the second field of the timestamp, 04 in this example?