Welcome! Log In Create A New Profile

Advanced

Custom Error Log Format

Cox, Eric S
November 20, 2016 09:52AM
Has anyone done anything with using a lua script, third party module etc to be able to define a customer log error format?

Currently the log format I believe is

YYYY/MM/DD HH:MM:SS [LEVEL] PID#TID: *CID MESSAGE

Parsing/rewriting this is possible with some custom scripts but I would like to do this inside of nginx and have the output the way I need to begin with. Example adding some sort of predefined delimiter between each field, etc.

Thanks.

________________________________

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Custom Error Log Format

Cox, Eric S November 20, 2016 09:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready