-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Improve] Optimize log display during startup command #6816
Conversation
Thanks @JohnZp for created this PR! |
@@ -62,7 +62,7 @@ REM port in your IDE. After that, you can happily debug your code. | |||
REM set "JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=5001,suspend=y" | |||
|
|||
if exist "%CONF_DIR%\log4j2.properties" ( | |||
set "JAVA_OPTS=%JAVA_OPTS% -Dlog4j2.configurationFile=%CONF_DIR%\log4j2.properties" | |||
set "JAVA_OPTS=%JAVA_OPTS% -Dhazelcast.logging.type=log4j2 -Dlog4j2.configurationFile=%CONF_DIR%\log4j2.properties" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @hailin0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I'm late, this is a good pr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
Co-authored-by: JohnZp <[email protected]>
Purpose of this pull request
Some config loading log don't take effect about log4j2
When we startup a command like seatunnel.sh -l, the log as follows.
Generally, if you execute commands through some programs, such non-standard logs will be captured in the error log stream, which is very bad
Does this PR introduce any user-facing
How was this patch tested?
Check list
New License Guide
release-note
.