Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log the source class name #353

Open
balakc2022 opened this issue Dec 18, 2022 · 0 comments
Open

Log the source class name #353

balakc2022 opened this issue Dec 18, 2022 · 0 comments

Comments

@balakc2022
Copy link

Hi

I am trying to use the @loggable annotation. I am getting the log line like this
[2022-12-18 12:49:07,520] [com.jcabi.log.Logger] [http-nio-8080-exec-2] [193] [INFO ] #getComments(2): entered
[2022-12-18 12:49:08,217] [com.jcabi.log.Logger] [http-nio-8080-exec-2] [193] [INFO ] #getComments(2): '<200 OK OK,[{postId=1, id=1, name=id labore ex et..132660..t maxime quia temporibus ut omnis}],[]>' in 697.58ms

I can see only the source function name getComments and i dont see source class name com.foo.FooBar. How can i enable this. I am slf4j with Logback

any help will be really appreciated.

Thanks
Bala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants