Advanced HTTP server configurations in Play 2.3

扶醉桌前 提交于 2019-12-11 09:09:27

问题


I am using Play 2.3 to develop an application.

I need to set http.netty.log.wire to true which is by default false as specified in Play documents.

In the below link (last section) it says this option is available but it also specifies "we cannot use application.conf" to specify this.

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

If we cannot specify this in application conf, how can we specify this?

Thanks


回答1:


You will need to pass those options in the command line:

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


来源:https://stackoverflow.com/questions/30816449/advanced-http-server-configurations-in-play-2-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!