You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think a better behavior of log_by_lua would be to run before access_log so that it can set some variables which can be written afterward by access_log.
For example one can do a json econde of data he wants to be logged and then let access log to write the log. This way you can simply have your data in logs already in json format and you don't need to to a translation from log format to json.
The text was updated successfully, but these errors were encountered:
I think a better behavior of log_by_lua would be to run before access_log so that it can set some variables which can be written afterward by access_log.
For example one can do a json econde of data he wants to be logged and then let access log to write the log. This way you can simply have your data in logs already in json format and you don't need to to a translation from log format to json.
The text was updated successfully, but these errors were encountered: