winsw/src
Dinz 9014f38b9c Added Support for the log appender roll-by-size-time to zip older files (#259)
* Introduced the following new elements.
1. logname - you can override the name of the log file rather than using the EXE name, this means you don't have to call your EXE a different name, just name the winsw exe different. Default's the name to the EXE as before.
2. outfiledisabled - you can disable writing to the out file. Defaults to false.
3. errfiledisabled - you can disable writing to the error file. Defaults to false.
4. outfilepattern - you can choose the pattern of the out file. Defaults to .out.log.
5. errfilepattern - you can choos the pattern of the error file. Defaults to .err.log.

* Downgraded from C#7.0 syntax.

* Applied reviewers comment

* not required

* removed the key

* Added unit test for new fields logname, outfiledisabled, errfiledisabled and errfilepattern.

Created a new appender called roll-by-size-time see class RollingSizeTimeLogAppender, this appender supports rolling by time and size and rolling at a specific time each day.

Added unit test for the new appender.

Added a new option testwait which is similar to test but waits for the user to press any key before calling the stop method.

* Update loggingAndErrorReporting.md

* Cannot use $ string.format syntax, downgraded code to string.format.

* Another syntax found of $

* Fixed a unit tests

* Added support to zip files.

* Added error handling

* Removed the zip call at startup.

* Fix issue with UTC

* Update loggingAndErrorReporting.md

Documented the new fields zipolderthannumdays and zipdateformat

* Update loggingAndErrorReporting.md

* Applied Code review

* Fixed a BST bug

* Added zip lib
2018-06-19 18:39:03 +02:00
..
.nuget Support merging plugins into winsw.exe executable 2015-02-08 14:28:15 +03:00
Core Added Support for the log appender roll-by-size-time to zip older files (#259) 2018-06-19 18:39:03 +02:00
Plugins Issue #237 - Improve diagnostics of the Runaway Process Killer when it kills the process (#239) 2017-09-18 18:25:16 +02:00
Test/winswTests Fix environment variable setting in RunawayProcessKiller test 2018-05-31 10:19:00 +02:00
packages Logging subsystem refactoring - use log4net (#145) 2016-12-09 01:41:20 +01:00
winsw.sln Issue #170: Enable publishing of samples as AppVeyor artifacts 2016-12-23 22:47:05 +01:00
winsw.sln.DotSettings Integrate changes in WinSW core and SharedDirectoryMapper from #42 2015-02-08 13:53:26 +03:00