Is there any way i could add/modify some info to the log? Something like:
{"status": 200, "method": "GET", "URI": "**ROUTE NAME**", "remote_address": "addrr", "read_bytes": 0, "write_bytes": 0, "start": "2024-04-12T11:00:00+0000", "elapsed": 60, **"USERID": 1**}
Right now i'm using RR with fcgi and metrics. Every request is logged like so:
{"status": 200, "method": "GET", "URI": "", "remote_address": "addrr", "read_bytes": 0, "write_bytes": 0, "start": "2024-04-12T11:00:00+0000", "elapsed": 60}
Is there any way i could add/modify some info to the log? Something like:
{"status": 200, "method": "GET", "URI": "**ROUTE NAME**", "remote_address": "addrr", "read_bytes": 0, "write_bytes": 0, "start": "2024-04-12T11:00:00+0000", "elapsed": 60, **"USERID": 1**}
Thank you!