Play 2.3 中的高级 HTTP 服务器配置

Advanced HTTP server configurations in Play 2.3

我正在使用 Play 2.3 开发应用程序。

我需要将 http.netty.log.wire 设置为 true,如 Play 文档中所指定,默认情况下为 false。

在下面的 link(最后一节)中,它说此选项可用,但它还指定 "we cannot use application.conf" 来指定此选项。

https://www.playframework.com/documentation/2.3.x/ProductionConfiguration

如果我们不能在应用程序配置文件中指定,我们如何指定?

谢谢

您需要在命令行中传递这些选项:

/path/to/your/app/bin/yourapp -Dhttp.netty.log.wire=true