-
Notifications
You must be signed in to change notification settings - Fork 4
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
Added missing syslog check gap for WTO #102
Conversation
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
@@ -782,6 +782,7 @@ static void *handle_comp_comm(void *args) { | |||
|
|||
while (next_line) { | |||
printf("%s\n", next_line); | |||
check_for_and_print_sys_message(next_line); |
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.
check_for_and_print_sys_message does not exclude messages that start with "ZWE_zowe_sysMessages_", but should, because though it does print syslog messages you want, it also prints debug stuff you dont want:
11.20.25 S0542560 +ZWEL0021I Zowe Launcher starting
11.20.40 S0542560 +ZWEL0018I Zowe instance prepared successfully
11.20.49 S0542560 +ZWEL0006I starting components
11.20.49 S0542560 +ZWEL0001I component app-server started
11.20.49 S0542560 +ZWEL0001I component zss started
11.21.19 S0542560 +ZWE_zowe_sysMessages_3=ZWES1601I
11.21.19 S0542560 +ZWE_zowe_sysMessages_4=ZWEL0008I
11.21.19 S0542560 +ZWE_zowe_sysMessages_5=ZWEL0022I
11.21.19 S0542560 +ZWE_zowe_sysMessages_6=ZWEL0001I
11.21.19 S0542560 +ZWE_zowe_sysMessages_7=ZWEL0002I
11.21.19 S0542560 +ZWE_zowe_sysMessages_8=ZWEAM000I
11.21.19 S0542560 +ZWE_zowe_sysMessages_9=ZWED0031I
11.21.19 S0542560 +ZWE_zowe_sysMessages_10=ZWES1013I
11.21.19 S0542560 +ZWE_zowe_sysMessages=ZWEL0021I,ZWEL0018I,ZWEL0006I,ZWES1601I,ZWEL0008I,ZWEL0022I,ZWEL0001I,ZWEL0002I,ZWEAM000I,
ZWED0031I,ZWES1
11.21.19 S0542560 +ZWE_zowe_sysMessages_0=ZWEL0021I
11.21.19 S0542560 +ZWE_zowe_sysMessages_1=ZWEL0018I
11.21.19 S0542560 +ZWE_zowe_sysMessages_2=ZWEL0006I
11.21.20 S0542560 +ZWES1013I ZSS Server has started. Version '2.12.0+20231016' 31-bit
11.21.21 S0542560 + "ZWEL0021I",
11.21.21 S0542560 + "ZWEL0018I",
11.21.21 S0542560 + "ZWEL0006I",
11.21.21 S0542560 + "ZWES1601I",
11.21.21 S0542560 + "ZWEL0008I",
11.21.21 S0542560 + "ZWEL0022I",
11.21.21 S0542560 + "ZWEL0001I",
11.21.21 S0542560 + "ZWEL0002I",
11.21.21 S0542560 + "ZWEAM000I",
11.21.21 S0542560 + "ZWED0031I",
11.21.21 S0542560 + "ZWES1013I"
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.
Right, thanks @1000TurquoisePogs going to make a ticket now to remind us to get back to this
Title makes sense