Welcome! Log In Create A New Profile

Advanced

Re: logging

Maxim Dounin
January 08, 2016 12:28PM
Hello!

On Wed, Jan 06, 2016 at 09:11:54AM -0500, tammini wrote:

> Is it possible to log websocket requests in nginx access log ? Or is this
> logging restricted only to http requests ?

WebSocket requests are no different from other HTTP requests -
they just establish a WebSocket connection using the Upgrade HTTP
mechanism. They are logged to access logs much like other HTTP
requests once the WebSocket connection is closed.

Note though that it's not possible to log what happens inside a
WebSocket connection.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

logging

tammini January 06, 2016 09:11AM

Re: logging

Maxim Dounin January 08, 2016 12:28PM

Re: logging

tammini January 11, 2016 11:21PM

Re: logging

vikrant singh January 12, 2016 12:52AM

Re: logging

Maxim Dounin January 12, 2016 07:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready