Welcome!
Log In
Create A New Profile
Home
>
Nginx Related Forums
>
How to...
> Topic
Advanced
How can I create a custom log?
Posted by
Sakib
Forum List
Message List
New Topic
Sakib
How can I create a custom log?
October 20, 2016 10:40AM
Registered: 7 years ago
Posts: 1
Hello,
Basically I want to create a custom log to write to it if the condition is satisfied within an "if" clause. Example:
location / {
if ($query_string ~ condition) {
custom_log /.../custom_log;
}}
Is this possible? Thanks in advance.
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login
Online Users
hackermade
Guests: 290
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018