playframework - Play logger configuration parameters -
i pass parameter application.conf
logger.xml
logging configured.
application.conf
... logstash.host = "127.0.0.1" logstash.port = 1234 ...
logger.xml
<appender name="logstash" class=".."> <port>${logstash.port}</port> <remotehost>${logstash.host}</remotehost> </appender>
but value aren't getting set.
|-error in net.logstash.logback.appender.logstashtcpsocketappender[logstash] - unknown host: logstash.host_is_undefined
what options?
i not have separate logger.xml
every environment, have separate application.conf
each.
thanks in advance.
Comments
Post a Comment