Skip to content

ws_log_format only for open and close connection operations #4

Description

@cello86

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions