<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div>Perhaps using:</div><div><div><a href="http://nginx.org/en/docs/http/ngx_http_log_module.html" target="_blank">http://nginx.org/en/docs/http/ngx_http_log_module.html</a></div><div><br></div><div>Best,</div><div><br></div><div>Ranier</div><br><div>> Date: Thu, 9 Jun 2016 12:19:15 +0900<br>> To: nginx-devel@nginx.org<br>> Subject: log to desired path<br>> From: kuroishi@iij.ad.jp<br>> <br>> <br>> Hi,<br>> <br>> I'm developing a module that needs to log its status and result<br>> to a file at an appropriate path. And it's preferred that the<br>> log file contains only its own data.<br>> <br>> This is a demand of our customer.<br>> <br>> I come up with using fopen(3), fwrite(3) or something like that<br>> in the module first.<br>> <br>> Is this bad idea in terms of the NGINX module manner?<br>> <br>> Is there any way using the access_log or error_log<br>> directive to achieve the need.<br>> <br>> Or please let me know if you know modules that can be used for<br>> that.<br>> <br>> Thanks in advance.<br>> <br>> --<br>> Kuroishi Mitsuo<br>> <br>> _______________________________________________<br>> nginx-devel mailing list<br>> nginx-devel@nginx.org<br>> http://mailman.nginx.org/mailman/listinfo/nginx-devel<br></div></div><div id="DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/2016/icons/icon-envelope-tick-round-orange_184x116-v1.png" height="29px" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Livre de vírus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color: #4453ea;">www.avast.com</a>. </td>
</tr>
</table>
<a href="#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div> </div></body>
</html>