BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
jbond007
Obsidian | Level 7

Hi SAS Community, 

I am new to viya and need your help. There is a frequent disconnection on our SASVA and would like to understand how to read the log. there are so many written on the log would like to understand the numbers..

 

Are the below numbers represent a certain process/pid? 
[00000007]

5776

17778
 
2022-05-18T20:53:00,571 ERROR [00000007] 5776 cas 17778 [tkmtrbMethods.c:1956] - SubmitRequestWithFiles: version=2 errorCode=0 or 0x0 httpStatusCode=401 message='Couldn't retrieve remote JWK set: Read timed out'

1 ACCEPTED SOLUTION

Accepted Solutions
gwootton
SAS Super FREQ
I believe these numbers represent the thread, client PID, and session ID, respectively. You can look at the logconfig file to see how the message lines are being formed:

$ grep Conv /opt/sas/viya/config/etc/cas/default/logconfig.xml
<param name="ConversionPattern" value="%d %-5p [%t] %X{Cas.ClientPid|MAIN} %X{Cas.ClientUser|NoUser} %X{Cas.SessionIndex|MAIN} [%F:%L] - %m"/>
<param name="ConversionPattern" value="%d %-5p %X{Cas.ClientPid|MAIN} %X{Cas.ClientUser|NoUser} %X{Cas.SessionIndex|MAIN} - %m"/>
<param name="ConversionPattern" value="%-5p [%t] %X{Cas.ClientPid|MAIN} %X{Cas.ClientUser|NoUser} %X{Cas.SessionIndex|MAIN} [%F:%L] - %m"/>

Syntax for a Pattern Layout
https://go.documentation.sas.com/doc/en/pgmsascdc/v_027/logug/n0t35nn3zod1enn1x72nmd9bcbu8.htm
--
Greg Wootton | Principal Systems Technical Support Engineer

View solution in original post

2 REPLIES 2
gwootton
SAS Super FREQ
I believe these numbers represent the thread, client PID, and session ID, respectively. You can look at the logconfig file to see how the message lines are being formed:

$ grep Conv /opt/sas/viya/config/etc/cas/default/logconfig.xml
<param name="ConversionPattern" value="%d %-5p [%t] %X{Cas.ClientPid|MAIN} %X{Cas.ClientUser|NoUser} %X{Cas.SessionIndex|MAIN} [%F:%L] - %m"/>
<param name="ConversionPattern" value="%d %-5p %X{Cas.ClientPid|MAIN} %X{Cas.ClientUser|NoUser} %X{Cas.SessionIndex|MAIN} - %m"/>
<param name="ConversionPattern" value="%-5p [%t] %X{Cas.ClientPid|MAIN} %X{Cas.ClientUser|NoUser} %X{Cas.SessionIndex|MAIN} [%F:%L] - %m"/>

Syntax for a Pattern Layout
https://go.documentation.sas.com/doc/en/pgmsascdc/v_027/logug/n0t35nn3zod1enn1x72nmd9bcbu8.htm
--
Greg Wootton | Principal Systems Technical Support Engineer
jbond007
Obsidian | Level 7

oh nice. thanks a lot for this! 🙂

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Discussion stats
  • 2 replies
  • 1937 views
  • 1 like
  • 2 in conversation