08-02-2019 07:51 AM
Where are the Exception logs stored for the Unity API and how do I retrieve or view them?
08-29-2019 06:51 AM
Ryan,
You can use the application object of unity script and write logs to the diagnostic console, all messages will appear in the Unity Messages tab- (screenshot from the sdk, link - https://sdk.onbase.com/unitySDK/html/b936d80a-4dc4-426f-be4a-59440b61d4fb.htm)
Code sample -
app.Diagnostics.Write("My log");
app.Diagnostics.WriteIf(Diagnostics.DiagnosticsLevel.Error, "This is an error Message")
Or you can use open source .NET logging frameworks like Serilog (dll import required) and write to text files
link - https://serilog.net/
08-29-2019 06:51 AM
Ryan,
You can use the application object of unity script and write logs to the diagnostic console, all messages will appear in the Unity Messages tab- (screenshot from the sdk, link - https://sdk.onbase.com/unitySDK/html/b936d80a-4dc4-426f-be4a-59440b61d4fb.htm)
Code sample -
app.Diagnostics.Write("My log");
app.Diagnostics.WriteIf(Diagnostics.DiagnosticsLevel.Error, "This is an error Message")
Or you can use open source .NET logging frameworks like Serilog (dll import required) and write to text files
link - https://serilog.net/
08-29-2019 07:51 AM
If your messages don't appear in the Diagnostic Console, you may need to turn on the Unity mail slot in your web.config on the Application Server. There is a WAMCON GUI utility to turn on/off each tab of the Diagnostic Console. Warning: When you save the new settings, it will disconnect any current connections to that Application Server. If you haven't used that before, see the WebAppConsole MRG for more details.
Cheers.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.