Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4731

Time format in log

$
0
0

It see that builtin log formats as well as the log-format option uses %t to log the time of the transaction.
From the documentation:

| | %t | date_time (with millisecond resolution) | date |

This produces this in the my log files:
10/Aug/2022:19:13:17.817

How do I configure the time/date format? I’d much prefer the year first:
YYYY/MM/DDTHH:mm:ss.XXX

Thanks in advance.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4731

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>