logging
Maxim Dounin
mdounin at mdounin.ru
Fri Jan 8 17:27:07 UTC 2016
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/
More information about the nginx
mailing list