This tool generates a global log format string using placeholders and random embellishments.
Click the button below to generate a log format according to the algorithm.
Explanation:
Required placeholders: time, status_code, method, path, client_ip.
Optional placeholders (randomly added up to 2): latency, user_agent, protocol, request_size, response_size.
Unit specifiers can be added after a colon (e.g. {latency:ms} or {time:%Y-%m-%dT%H:%M:%S}).
Placeholders may be randomly wrapped in quotes ("", '', or []) and separated by spaces with occasional inserted " - " tokens.
If LOG_FORMAT is set to a custom value, it will be used directly.