Configure Logging to System Internal Storage
Enable logging to the system’s internal storage to help troubleshoot critical issues that are causing normal
logging operations to fail.
Caution:
Poly recommends logging to the system’s internal storage only when tracking critical issues.
Enabling for extended periods of time causes wear on the system’s storage and may cause
the system to fail.
Procedure
1.
In the system web interface, go to
Diagnostics
>
Logs
>
System Log Settings
.
2.
Select the
Save Logs to Internal Storage
check box.
Note:
The system saves logs to the internal storage for 2 weeks. After 2 weeks, the system
reverts to the previously configured logging method and deletes the logs in the internal
storage. Download the logs before the time expires.
3.
Select
Save
.
Sample Log File
The following code shows examples from a system log file.
Login:
2020-05-07 19:06:36.526 DEBUG SecurityService: SecurityService:
securityserviceproto.cpp SecurityServiceCreateSessionRequest clienttype: 3
location: 192.168.137.1 clientName: Mozilla/5.0 (Windows NT 10.0; Win64;
x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/
537.36 request: clienttype: kWeb
2020-05-07 19:06:36.526 DEBUG SecurityService: SecurityService:
createSession ClientType is 3 location: 192.168.137.1 name:Mozilla/5.0
(Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/81.0.4044.129 Safari/537.36
2020-05-07 19:06:36.526 DEBUG SecurityService: SecurityService: In
createSession sessionId=PSLgZBGvGw7I
2020-05-07 19:06:36.526 DEBUG SecurityService: SecurityService:
createSession The password is not empty, setting the user as anonymous
2020-05-07 19:06:36.526 DEBUG SecurityService: SecurityService:
updateSessionCount: Increment session count for client type '3' to 1
2020-05-07 19:06:36.526 DEBUG SecurityService: SecurityService:
SessionAddNtfy: len 268
2020-05-07 19:06:36.526 DEBUG SecurityService: SecurityService:
SecurityServiceSendNotification(): finished sending the notification,
msg_sendnotification() returned 0
2020-05-07 19:06:36.533 DEBUG SecurityService: SecurityService:
SecurityServiceLoginRequest(): username: admin
2020-05-07 19:06:36.533 DEBUG SecurityService: SecurityService: login
2020-05-07 19:06:36.533 DEBUG SecurityService: SecurityService:
LocalAuthenticator::login, role 3 loginSuccess 1
2020-05-07 19:06:36.535 DEBUG SecurityService: SecurityService:
SessionStateNtfy: len 69
2020-05-07 19:06:36.535 DEBUG SecurityService: SecurityService:
SecurityServiceSendNotification(): finished sending the notification,
msg_sendnotification() returned 0
2020-05-07 19:06:36.535 DEBUG SecurityService: SecurityService:
Troubleshooting
108