-
Search before asking
Apache SkyWalking ComponentOAP server (apache/skywalking) What happenedbash oapService.sh start error main WARN No Root logger was configured, creating default ERROR-level Root logger with Console appender What you expected to happen1 How to reproduce1 Anything elseNo response Are you willing to submit a pull request to fix on your own?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Answered by
wu-sheng
Jan 9, 2025
Replies: 1 comment 6 replies
-
Yes, we want to put logs into the Console. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.