Re: Nginx Log File from Specific PathName in link

2018-04-22 Thread Xander2020
Hello , It worked perfectly. Thank you Tangyan. U saved my day. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279535,279548#msg-279548 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx Log File from Specific PathName in link

2018-04-22 Thread Xander2020
Thanks Tangyan , Will try and reply back . Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279535,279545#msg-279545 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx Log File from Specific PathName in link

2018-04-21 Thread tangyan
access_log is valid in location context, so you can write nginx.conf like this: location /name/ { access_log name.log; } Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279535,279544#msg-279544 ___ nginx mailing

Re: Nginx Log File from Specific PathName in link

2018-04-20 Thread Xander2020
I need it in a separate file so i can fastly use it somewhere else. Is there a way? Thanks Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279535,279543#msg-279543 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listi

Re: Nginx Log File from Specific PathName in link

2018-04-19 Thread Gary
Why wouldn't you just grep the regular log file?   Original Message   From: nginx-fo...@forum.nginx.org Sent: April 19, 2018 5:53 AM To: nginx@nginx.org Reply-to: nginx@nginx.org Subject: Nginx Log File from Specific PathName in link Hello everyone , Im new here , first post today ,

Nginx Log File from Specific PathName in link

2018-04-19 Thread Xander2020
Hello everyone , Im new here , first post today , been using Nginx for a few years now. People are POST ing links like this to our server : POST https://domain.com/name/test/sub/aaa-bbb-ccc I want to log in a different file all the links that are having the word : name in a file called name.l