ok thanks, then probably write to syslog using syslog API's and it seems nginx already supports syslog. Will that work? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285729,285737#msg-285737