You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a development/test web application running that uses Serilog.Sinks.File for logging. For no reason we have been able to ascertain, logging will stop for a few hours and then resume by itself. It happens daily, at different times of the day.
2024-11-21 14:53:07.742 +02:00 [ERR] Client script error: Uncaught TypeError: n.includes is not a function
2024-11-21 15:01:33.054 +02:00 [ERR] An unhandled exception has occurred while executing the request.
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Int32'.
2024-11-21 15:14:29.401 +02:00 [ERR] An unhandled exception has occurred while executing the request.
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Int32'.
****** Nothing logged for 3.5 hours ******
2024-11-21 18:44:38.579 +02:00 [ERR] Data error on db, Could not find stored procedure 'x'.
2024-11-21 18:49:24.851 +02:00 [ERR] Data error on db, Could not find stored procedure 'x'.
2024-11-21 18:56:36.714 +02:00 [ERR] Client script error: Uncaught TypeError: Cannot read properties of undefined (reading 'top')
2024-11-21 19:03:23.891 +02:00 [ERR] Data error on db, Could not find stored procedure 'x'.
2024-11-21 19:15:35.261 +02:00 [ERR] Data error on db, Could not find stored procedure 'x'.
2024-11-21 19:24:13.869 +02:00 [ERR] Data error on db, Could not find stored procedure 'x'.
Please advise if it is a config issue or something else?
The text was updated successfully, but these errors were encountered:
Hi! Try enabling SelfLog and have this write to a different location (or directly to a remote endpoint) - if the issue is within the file sink it's likely some info will be produced there. HTH!
We have a development/test web application running that uses Serilog.Sinks.File for logging. For no reason we have been able to ascertain, logging will stop for a few hours and then resume by itself. It happens daily, at different times of the day.
Code to initialize
Appsettings.Json
Log file extract
Please advise if it is a config issue or something else?
The text was updated successfully, but these errors were encountered: