Skip to content

[Bug] skywalking main WARN No Root logger was configured, creating default ERROR-level Root logger with Console appender #12947

Closed Answered by wu-sheng
lianfulei asked this question in Q&A
Discussion options

You must be logged in to vote

It is just a WARNING, nothing serious. We don't want to put too many logs into the Console, so no root.
The root means at least it will output to the Console.

This file(for developer debug) has root logger.

https://github.com/apache/skywalking/blob/3c52eedd04dc976303fcb5dfa6712417a50861b9/oap-server/server-starter/src/main/resources/log4j2.xml

But this doesn't mean you should use this log config. I just show you. You should learn log4j2, and follow your own requirements.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@lianfulei
Comment options

@wu-sheng
Comment options

wu-sheng Jan 9, 2025
Collaborator

@lianfulei
Comment options

@wu-sheng
Comment options

wu-sheng Jan 9, 2025
Collaborator

Answer selected by lianfulei
@lianfulei
Comment options

@wu-sheng
Comment options

wu-sheng Jan 9, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working and you are sure it's a bug!
2 participants
Converted from issue

This discussion was converted from issue #12946 on January 09, 2025 11:46.