Closed eabykov closed 2 years ago
Could you try using gflog instead of log4j to increase logging performance
<appender name="gelf" factory="deltix.gflog.appender.TcpAppenderFactory" host="graylog" port="12201"> <layout factory="deltix.gflog.layout.GelfLayoutFactory"> <additional-fields> <entry key="app" value="${app.name}"/> </additional-fields> </layout> </appender>
Because gflog is a highly efficient garbage-free logging framework for Java 8+. Here is a link to the comparison: https://github.com/epam/GFLog/wiki/Performance
@eabykov Thanks for the suggestion, but we will stay with log4j2 for now.
What?
Could you try using gflog instead of log4j to increase logging performance
Why?
Because gflog is a highly efficient garbage-free logging framework for Java 8+. Here is a link to the comparison: https://github.com/epam/GFLog/wiki/Performance
Your Environment