Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ws_log_format only for open and close connection operations #4

Open
cello86 opened this issue Nov 19, 2021 · 0 comments
Open

ws_log_format only for open and close connection operations #4

cello86 opened this issue Nov 19, 2021 · 0 comments

Comments

@cello86
Copy link

cello86 commented Nov 19, 2021

Hi All,
is it possible to configure the moduel to avoid the logging of all operations into ws_log_format like:

        ws_log /usr/local/nginx/logs/websocket.log;
        ws_log_format open "[open] $remote_addr $time_local $request";
        ws_log_format close "[close] $remote_addr $time_local $request $ws_conn_age";

?

Thanks,
Marcello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant