You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sure that all the content I provide is in English.
Search before asking
I had searched in the issues and found no similar issues.
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Dubbo 3.3
Steps to reproduce this issue
the delegate of FluentLoggerImpl is org.apache.dubbo.common.logger.slf4j.Slf4jLogger, which has already set FQCN, so the code line numbers that FluentLoggerImpl outputs are all his own.
the timestamp recorded by FluentLoggerImpl does not correspond to the actual time when the application generated the logs. it is just the time when FluentLoggerImpl called the logger agent.This may cause inconsistencies in timestamp alignment between client and server logs, make it challenging to determine the chronological order of interactions between the client and server.
What you expected to happen
the code line number of log info should be the code line number of the calling class.
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Yes I am willing to submit a pull request on my own!
zrlw
changed the title
[Bug] FluentLoggerImpl desn't output the code line number of the calling class
[Bug] FluentLoggerImpl doesn't output the code line number of the calling class
Mar 19, 2025
zrlw
changed the title
[Bug] FluentLoggerImpl doesn't output the code line number of the calling class
[Bug] FluentLoggerImpl doesn't record the code line number of the calling class, and just record itself calling time
Mar 22, 2025
zrlw
changed the title
[Bug] FluentLoggerImpl doesn't record the code line number of the calling class, and just record itself calling time
[Bug] FluentLoggerImpl doesn't record the code line number of the calling class, and just record its own calling time
Mar 22, 2025
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Dubbo 3.3
Steps to reproduce this issue
the delegate of FluentLoggerImpl is org.apache.dubbo.common.logger.slf4j.Slf4jLogger, which has already set FQCN, so the code line numbers that FluentLoggerImpl outputs are all his own.

the timestamp recorded by FluentLoggerImpl does not correspond to the actual time when the application generated the logs. it is just the time when FluentLoggerImpl called the logger agent.This may cause inconsistencies in timestamp alignment between client and server logs, make it challenging to determine the chronological order of interactions between the client and server.
What you expected to happen
the code line number of log info should be the code line number of the calling class.
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: