You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "mahboobgit (via GitHub)" <gi...@apache.org> on 2024/09/11 07:46:15 UTC
[D] support for Slf4j v2.0 [pekko]
GitHub user mahboobgit created a discussion: support for Slf4j v2.0
Hi,
I have a question regarding logging
We are using **org.apache.pekko:pekko-actor_2.13:1.0.2** (I believe it internally uses slf4j v1.7..2)
and our the java project (POM) has slf4j v2.0.13 and log4j v2.23.1.
application.conf looks like
```
pekko
{
loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]
loglevel = DEBUG
stdout-loglevel = OFF
logging-filter = "org.apache.pekko.event.slf4j.Slf4jLoggingFilter"
# other lines ...
}
```
```
//Test performed
ActorSystem<Message> actorSystem = ActorSystem.create(guardianActor, "actorSystem", actorConfig);
actorSystem.log().info("test log message");
```
Expecting the log message to appear in the log file but it does not.
Any suggestion to have the log output in file?
GitHub link: https://github.com/apache/pekko/discussions/1473
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] support for Slf4j v2.0 [pekko]
Posted by "mahboobgit (via GitHub)" <gi...@apache.org>.
GitHub user mahboobgit added a comment to the discussion: support for Slf4j v2.0
Ok great.. Thank you !!
GitHub link: https://github.com/apache/pekko/discussions/1473#discussioncomment-10628141
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] support for Slf4j v2.0 [pekko]
Posted by "raboof (via GitHub)" <gi...@apache.org>.
GitHub user raboof added a comment to the discussion: support for Slf4j v2.0
Hopefully tomorrow
GitHub link: https://github.com/apache/pekko/discussions/1473#discussioncomment-10613211
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] support for Slf4j v2.0 [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
GitHub user pjfanning added a comment to the discussion: support for Slf4j v2.0
The source release will hopefully be done tomorrow but the 1.1.1 jars need another day to be verified (at least) after the source release vote passes.
GitHub link: https://github.com/apache/pekko/discussions/1473#discussioncomment-10613388
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] support for Slf4j v2.0 [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
GitHub user pjfanning added a comment to the discussion: support for Slf4j v2.0
Pekko 1.1.0 uses slf4j v2. Note that 1.1.1 is due out soon due to a bug in pekko-cluster-sharding.
If you want to stick with Pekko 1.0.2, slf4j can be tricky to get set up at runtime. watch out for warnings in your logs about slf4j implementation issues.
GitHub link: https://github.com/apache/pekko/discussions/1473#discussioncomment-10611034
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] support for Slf4j v2.0 [pekko]
Posted by "mahboobgit (via GitHub)" <gi...@apache.org>.
GitHub user mahboobgit added a comment to the discussion: support for Slf4j v2.0
Any tentative date, when we can expect v1.1.1?
GitHub link: https://github.com/apache/pekko/discussions/1473#discussioncomment-10613198
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org