43 Commits

Author SHA1 Message Date
Shreyas Zare
f34057ad84 LogManager: updated implementation to support logging to console too. 2025-03-29 17:15:18 +05:30
Shreyas Zare
3d5989e1ba LogManager: updated UnhandledException case to always write error to console along with log file. 2025-02-15 12:43:12 +05:30
Shreyas Zare
2738a4e325 LogManager: updated LoadConfig() to set correct default value for maxLogFileDays. 2024-10-26 17:34:06 +05:30
Shreyas Zare
61d9cc6c6d LogManager: added validation check for LogFolder property. 2024-10-19 17:01:54 +05:30
Shreyas Zare
9f9fee603a LogManager: updated code to log all TSIG details from request. 2024-09-14 19:29:21 +05:30
Shreyas Zare
6e46b3f6dc LogManager: added retry mechanism for delayed save. 2024-06-01 19:01:12 +05:30
Shreyas Zare
5a32f0452a LogManager: implemented delayed save feature. 2024-05-19 15:10:17 +05:30
Shreyas Zare
8f70029d43 LogManager: code refactoring changes done. 2024-02-04 18:02:19 +05:30
Shreyas Zare
70c0b906c3 LogManager: updated Write() to include TSIG error codes. 2023-10-29 19:13:07 +05:30
Shreyas Zare
f480e46311 LogManager: minor issue fixed. 2023-08-12 13:05:36 +05:30
Shreyas Zare
f97738e7e8 LogManager: updated response logging to add [TRUNCATED] log when TC flag is set to distinguish the log entry from empty response. 2023-03-05 19:20:41 +05:30
Shreyas Zare
2c54e0e790 LogManager: updated DownloadLogAsync() implementation to support kestral and added support for built in compression. 2023-01-01 17:39:12 +05:30
Shreyas Zare
9136130bf3 LogManager: fixed ECS log entry to use scope prefix length. 2022-12-24 12:18:01 +05:30
Shreyas Zare
c32e8b87bd LogManager: changes done to ignore ObjectDisposedException. 2022-11-26 11:51:03 +05:30
Shreyas Zare
f58371baa9 LogManager: added ECS info in logs. 2022-11-20 16:36:37 +05:30
Shreyas Zare
96fde6c643 LogManager: updated Write() to log additional section data for NS, MX and SRV types. 2022-05-08 15:34:32 +05:30
Shreyas Zare
c5af5988df LogManager: minor change done. 2022-03-26 11:49:21 +05:30
Shreyas Zare
28818c3bd0 LogManager: minor changes and refactoring done. 2021-09-11 15:31:30 +05:30
Shreyas Zare
e64a330909 LogManager: fixed issue with log file rolling when userLocalTime is enabled. Other minor fixes done. 2021-08-14 11:47:47 +05:30
Shreyas Zare
58f72ce9ba LogManager: fixed issue that would set queue cancellation token even when logging is stopped causing the logging thread to block when enabling again. 2021-05-01 13:53:23 +05:30
Shreyas Zare
a7a91f68b6 refactoring changes 2021-02-27 19:35:51 +05:30
Shreyas Zare
806cb1dc7f LogManager: implemented option to disable log cleanup timer by using maxLogFileDays set to zero. 2020-12-25 18:28:15 +05:30
Shreyas Zare
cc96f44f5a LogManager: made StartLogging(), StopLogging() and LoadConfig() internal methods to allow reloading. 2020-12-20 16:59:00 +05:30
Shreyas Zare
1b9019c88a LogManager: updated code to support independent log config file. Implemented features to disable logging, changing log folder, use local time zone and cleanup old log files from disk. Implemented automatic compression of log files when downloading them. Added support to delete all logs. 2020-12-19 12:41:37 +05:30
Shreyas Zare
b235b5ca2e LogManager: added Write method with string protocol arg. 2020-09-05 20:00:22 +05:30
Shreyas Zare
3fd372c91f LogManager: implemented BlockingCollection. 2020-08-29 16:14:05 +05:30
Shreyas Zare
a8cec0d33a LogManager: minor fix done. 2020-06-06 16:44:57 +05:30
Shreyas Zare
f4b837a605 LogManager: implemented queue mechanism to fix thread contention issues. Code refactoring done. 2020-05-23 17:06:29 +05:30
Shreyas Zare
e6965f988e fixed minor typo 2019-06-22 15:40:42 +05:30
Shreyas Zare
ce43a25e43 LogManager: changes done to allow specifying all supported protocol types for logging. 2019-03-02 20:03:12 +05:30
Shreyas Zare
cfc1b57ee4 moved unhandled exception logging to log manager. 2019-01-14 11:11:51 +05:30
Shreyas Zare
6a340ae305 minor refactoring done 2019-01-06 16:43:16 +05:30
Shreyas Zare
3ae358e892 Added tcp protocol indication when logging with end points. 2019-01-05 15:23:11 +05:30
Shreyas Zare
569b00dbe1 fixed issue of download log option giving truncated file with fixed 2mb limit by making the limit option configurable. 2019-01-05 15:14:15 +05:30
Matthew Bonner
09a4cb445b
Update LogManager.cs
As per best practices, don't use lock on `this`.
2018-12-09 16:11:42 +00:00
Shreyas Zare
4a4739ed5a bug fixed caused by missing question in dns datagram. 2018-10-20 17:20:27 +05:30
Shreyas Zare
fca051eaae LogManager: added Write(Exception ex) method. 2018-09-30 00:20:15 +05:30
Shreyas Zare
ce53ad08fc minor changes 2018-09-22 20:16:43 +05:30
Shreyas Zare
c9171ded8e minor refactoring change 2018-08-04 15:11:37 +05:30
Shreyas Zare
f5799eb9a7 minor refactoring done. 2018-08-04 13:05:18 +05:30
Shreyas Zare
b05e0bd056 LogManager: implemented IDisposable correctly. removed OffsetStream dependency. 2018-07-15 18:05:15 +05:30
Shreyas Zare
d4d676db32 LogManager: fixed SO bug and implemented minor changes with testing. 2017-12-16 20:25:44 +05:30
Shreyas Zare
8b5ec5579b LogManager: added log manager class to write text logs to log files on daily basis. 2017-12-11 00:15:06 +05:30