micronaut-projects/micronaut-graphql

GraphQLWsController is heavy on logs

weisheme opened this issue · 0 comments

This ticket is related to

LOG.info("Opened websocket connection with id {}", session.getId());

On every page refresh onClose and onOpen is logged at info level. I could just filter info from logback.xml, but onError is logging at the same level. This makes distinguishing between 'normal' and 'exceptional' flow difficult. Generally speaking, my problem is solved as long as the onOpen()', 'onClose() are different from onError.

Having said that, I believe log levels for onOpen() and onClose() should be trace or at most debug level. onError should be considered debug or at most info.