replace akka based names in logging code (#197)
This commit is contained in:
parent
3ee028f915
commit
2824a44abe
18 changed files with 112 additions and 112 deletions
|
|
@ -132,7 +132,7 @@ public class LoggerSourceTest extends JUnitSuite {
|
|||
.withCustom(
|
||||
event -> {
|
||||
return event.loggerName().equals(LoggingBehavior.class.getName())
|
||||
&& event.getMdc().get("akkaSource").equals(ref.path().toString());
|
||||
&& event.getMdc().get("pekkoSource").equals(ref.path().toString());
|
||||
})
|
||||
.expect(
|
||||
testKit.system(),
|
||||
|
|
@ -150,7 +150,7 @@ public class LoggerSourceTest extends JUnitSuite {
|
|||
.withCustom(
|
||||
event -> {
|
||||
return event.loggerName().equals(LoggingBehavior.class.getName())
|
||||
&& event.getMdc().get("akkaSource").equals(ref.path().toString());
|
||||
&& event.getMdc().get("pekkoSource").equals(ref.path().toString());
|
||||
})
|
||||
.expect(
|
||||
testKit.system(),
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%date{ISO8601} [%-5level] [%logger] [%marker] [%X{akkaSource}] [%X{persistencePhase}] [%X{persistenceId}] - %msg %n</pattern>
|
||||
<pattern>%date{ISO8601} [%-5level] [%logger] [%marker] [%X{pekkoSource}] [%X{persistencePhase}] [%X{persistenceId}] - %msg %n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue