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

logback-appender creating odd slf4j messages during initialization. #93

Open
Swoorup opened this issue Jun 25, 2022 · 1 comment
Open

Comments

@Swoorup
Copy link

Swoorup commented Jun 25, 2022

It seems that just adding Loki appender to logback causes the following messages to appear at the start. Any ideas?

  <appender name="LOKI" class="pl.tkowalcz.tjahzi.logback.LokiAppender">
    <host>${loki.host}</host>
    <port>${loki.port}</port>

    <efficientLayout>
      <pattern>%msg</pattern>
    </efficientLayout>

    <label>
      <name>server</name>
      <value>${HOSTNAME}</value>
    </label>
  </appender>
[error] SLF4J: A number (57) of logging calls during the initialization phase have been intercepted and are
[error] SLF4J: now being replayed. These are subject to the filtering rules of the underlying logging system.
[error] SLF4J: See also http://www.slf4j.org/codes.html#replay
[info] Hello world!
@tkowalcz
Copy link
Owner

Hello,

thanks for reporting the issue. It is strange indeed. I have never seen this kind of output from slf4j. I'll investigate later this week.

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

2 participants