<div dir="ltr">map и ключевое слово "if" директивы access_log<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-19 13:49 GMT+05:00 IvanMiller <span dir="ltr"><<a href="mailto:nginx-forum@forum.nginx.org" target="_blank">nginx-forum@forum.nginx.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Привет<br>
Есть такие логи,<br>
54. - - [19/Feb/2016:06:16:25 +0000] "GET<br>
/mail_confirm/e87bde4d9bc9b4d84abe677a91c299e0351c462ae2367361f31df3978cf0f71992749f59d580fadf46eb13df54292ee711b9caaf39ad8b919bc65e399dc13b3e<br>
HTTP/1.1" 200 1997 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0)<br>
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36"<br>
"54.179.1"<br>
<br>
<br>
37.1. - - [19/Feb/2016:06:16:40 +0000] "GET /profile HTTP/1.1" 200 2304<br>
"<a href="https://mail.domain.ru/confirm_name/876b76f1fcd60f9bbeb20348ab98837baf8b566dc49b202eb9ab49686e27e724" rel="noreferrer" target="_blank">https://mail.domain.ru/confirm_name/876b76f1fcd60f9bbeb20348ab98837baf8b566dc49b202eb9ab49686e27e724</a>"<br>
"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)<br>
Chrome/44.0.2403.157 Safari/537.36" "37.1"<br>
<br>
<br>
охото их писать в отдельный лог, подскажите как лучше это сделать ?<br>
<br>
Posted at Nginx Forum: <a href="https://forum.nginx.org/read.php?21,264614,264614#msg-264614" rel="noreferrer" target="_blank">https://forum.nginx.org/read.php?21,264614,264614#msg-264614</a><br>
<br>
_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-ru" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-ru</a></blockquote></div><br></div>