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

Document how to send timbre logging to slf4j / dialog #35

Open
ieugen opened this issue Jun 9, 2023 · 1 comment
Open

Document how to send timbre logging to slf4j / dialog #35

ieugen opened this issue Jun 9, 2023 · 1 comment

Comments

@ieugen
Copy link
Contributor

ieugen commented Jun 9, 2023

I've asked this on clojurians slack, on #timbre just now.

We have an issue that I believe is caused by some libraries logging with timbre (not confirmed yet).

In our app if we load dialog ns first, logging works fine.
If we load another ns that uses tools-logging (which should work over slf4j / dialog) then logging from that ns does not appear.

Just started investigating this.

https://clojurians.slack.com/archives/C1J6MQC2H/p1686296806175059

@ieugen
Copy link
Contributor Author

ieugen commented Jun 9, 2023

So it seems our issue is not related to timbre.

We use the [clojure.tools.logging] API .

Adding a require to this [clojure.tools.logging] in the file solves our issue.
Just requiring dialog.logger does not properly initialize the logging infrastructure.

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

No branches or pull requests

1 participant