玩2.5 netty访问日志

Play 2.5 netty access logs

我正在升级播放应用程序以播放 2.5.3。需要通过netty访问日志。我们已经为每个答案设置了广告 does not work now. Making the log.wire property to true in the application.conf file (as mentioned in https://www.playframework.com/documentation/2.5.x/ProductionConfiguration) 的配置也无法正常工作。有没有其他方法可以在 2.5.3 播放应用程序中启用访问日志?

配置名称好像变了,现在是play.server.netty.log.wire

@vdebergue:是的,没错。 logback.xml 中的记录器名称也已更改。

<logger name="io.netty.handler" level="DEBUG" additivity="false">
        <appender-ref ref="ACCESS_FILE"/>
 </logger>

这个问题的答案在https://github.com/playframework/playframework/issues/6218