log to desired path

Ranier VF ranier_gyn at hotmail.com
Thu Jun 9 10:39:02 UTC 2016


Hi,Perhaps using:http://nginx.org/en/docs/http/ngx_http_log_module.html
Best,
Ranier
> Date: Thu, 9 Jun 2016 12:19:15 +0900
> To: nginx-devel at nginx.org
> Subject: log to desired path
> From: kuroishi at iij.ad.jp
> 
> 
> Hi,
> 
> I'm developing a module that needs to log its status and result
> to a file at an appropriate path. And it's preferred that the
> log file contains only its own data.
> 
> This is a demand of our customer.
> 
> I come up with using fopen(3), fwrite(3) or something like that
> in the module first.
> 
> Is this bad idea in terms of the NGINX module manner?
> 
> Is there any way using the access_log or error_log
> directive to achieve the need.
> 
> Or please let me know if you know modules that can be used for
> that.
> 
> Thanks in advance.
> 
> --
> Kuroishi Mitsuo
> 
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
 
	
      
		Livre de vírus. www.avast.com. 		
	

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160609/727dbcc4/attachment.html>


More information about the nginx-devel mailing list