fluent-logger-java icon indicating copy to clipboard operation
fluent-logger-java copied to clipboard

Not to log class name

Open yaojingguo opened this issue 3 years ago • 0 comments

Now, the log message contains the class name: 2021-12-19 22:59:31,787 ERROR [main] org.fluentd.logger.sender.RawSocketSender java.net.ConnectException: Connection refused (Connection refused)

Since log frameworks usually have a way to log class name without the need to include it in the log message, the class name should be removed. The following text shows a sample log mesage after this change:

2021-12-19 22:56:58,842 ERROR [main] flush failed java.net.ConnectException: Connection refused (Connection refused)

yaojingguo avatar Dec 19 '21 15:12 yaojingguo