Commit Graph

777 Commits (15071bf1dd42b16410f18009af585effe429398d)

Author SHA1 Message Date
Oleg Nenashev 9a263eaea4 [maven-release-plugin] prepare release winsw-2.2.0 2019-01-17 10:09:28 +01:00
Oleg Nenashev d38e77c0cf Prepare pom.xml to the 2.2.0 release 2019-01-17 10:08:45 +01:00
Oleg Nenashev feb5bb1561
Changelog: Noting 2.2.0 2019-01-07 10:02:10 +01:00
Oleg Nenashev 39af5e1a8f
Merge pull request #286 from dmngb/master
maven: also deploy binary targeting .NET 4.0
2018-07-25 16:06:49 +02:00
dmngb 4028ac6b65
maven: also deploy binary targeting .NET 4.0 2018-07-25 14:52:25 +02:00
Oleg Nenashev 97dff5fb6b
Merge pull request #281 from ricardopolo/patch-1
Update installation.md
2018-06-23 16:16:11 +02:00
Ricardo Polo 2e606fe02f
Update installation.md
Wrong order in list
2018-06-22 17:51:46 -05:00
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
Oleg Nenashev 4415c62c1d
Merge pull request #277 from corebonts/fix-test
Fix environment variable setting in RunawayProcessKiller test
2018-06-19 18:37:09 +02:00
Gabor Garancsi 56ab348652 Fix environment variable setting in RunawayProcessKiller test
This way the check can be reenabled as well.
2018-05-31 10:19:00 +02:00
Oleg Nenashev d98bb9e9ad
Merge pull request #254 from senarclens/reval
pass ServiceDescriptor when creating wrapperservice
2017-11-01 10:22:08 +01:00
Gerald Senarclens de Grancy f4da4bb8a8 pass ServiceDescriptor when creating wrapperservice 2017-10-30 13:36:17 +01:00
Oleg Nenashev f69ed72e9b Merge pull request #252 from daklassen/master
Fix in the documentation (username > user)
2017-10-16 11:22:11 +02:00
David Klassen 15d3c3b120 Fix in the documentation (username > user) 2017-10-09 13:22:29 +02:00
Oleg Nenashev 8d94277288 Issue #237 - Improve diagnostics of the Runaway Process Killer when it kills the process (#239)
* Issue #237 - Improve diagnostics of the Runaway Process Killer when it kills the process

* Issue #237 - Also print the process (not sure if it's safe)
2017-09-18 18:25:16 +02:00
Dinz 221d30f271 Introduced the following new elements. (#247)
* 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
2017-09-18 18:22:01 +02:00
Oleg Nenashev fad883085d Changelog: Reference #224 in 2.1.1 2017-08-17 21:39:09 +02:00
Oleg Nenashev acb26b29c8 [maven-release-plugin] prepare for next development iteration 2017-07-27 13:32:57 +03:00
Oleg Nenashev 0497d3736f [maven-release-plugin] prepare release winsw-2.1.2 2017-07-27 13:32:16 +03:00
Oleg Nenashev 9c8ad38f40 Update Maven pckage to 2.1.2 2017-07-27 13:31:25 +03:00
Oleg Nenashev af7efc8f5c Changelog: Noting 2.1.2 2017-07-08 18:25:27 +02:00
Oleg Nenashev 8d7f81f213 Merge pull request #228 from Darsstar/patch-1
Start using stopTimeoutMs
2017-07-07 15:04:31 +02:00
Dos Moonen 0833d67c26 Start using stopTimeoutMs 2017-06-28 15:56:12 +02:00
Oleg Nenashev a3f3549031 Merge pull request #227 from Darsstar/use-correct-default
Noticed a small 'error' and fixed it
2017-06-28 13:53:23 +02:00
Dos Moonen 138bca822d Noticed a small 'error' and fixed it 2017-06-27 09:58:04 +02:00
Oleg Nenashev 528dd7b6d4 Readme: Fix the documentation output 2017-06-15 09:09:16 +02:00
Oleg Nenashev c498ad5547 Changelog: add the release date for 2.1.1 2017-06-12 09:46:50 +02:00
Oleg Nenashev a2c2a9d405 Merge pull request #224 from oleg-nenashev/bug/Issue218_fix2
Issue #218 - ProcessHelper#StartProcessAndCallbackForExit() should redirect STDOUT/STDERR when LogHandler is defined
2017-06-11 21:55:32 +02:00
Oleg Nenashev 69857d5d8c Issue #218 - Also support managing Stdin, which is required in the main executable logic 2017-06-08 23:44:24 +02:00
Oleg Nenashev 05092376f3 Issue #218 - ProcessHelper#StartProcessAndCallbackForExit() should redirect STDOUT/STDERR when LogHandler is defined
It restores logging of executables, which has been broken in https://github.com/kohsuke/winsw/pull/220.
Not a regression, because the change has not been released yet
2017-06-08 22:54:44 +02:00
Oleg Nenashev cfacfe3879 Changelog: Noting 2.1.1 2017-06-06 00:23:06 +02:00
Oleg Nenashev 10c1ec3e77 Merge pull request #220 from greenhouse-org/fix_218
[Issue #218] StdOut was not being redirected properly and was causing…
2017-06-06 00:05:37 +02:00
Paul Nikonowicz 5fb03bb094 [Issue #218] StdOut was not being redirected properly and was causing the child process to hang. 2017-05-30 17:32:25 -04:00
Oleg Nenashev 33dcc39539 Merge pull request #215 from oleg-nenashev/developer_docs
Add WinSW Developer Guide
2017-05-07 18:07:45 +03:00
Oleg Nenashev 2f88614f03 Add WinSW Developer Guide 2017-05-05 16:35:50 +03:00
Oleg Nenashev 7be52c79e4 Merge pull request #214 from oleg-nenashev/Issue206_status_log
[Issue #206] - Prevent printing of logs in the status command
2017-05-03 15:42:00 +03:00
Oleg Nenashev db3904ce83 Fix indenting of the Documentation list in README 2017-04-28 01:03:07 +02:00
Oleg Nenashev 45f94fe006 [Issue #206] - Prevent printing of logs to the status command
This is rather a workaround to prevent printing of log messages in CLI with the default logging level. I reduced CLI logging verbosity to "Info" and moved the messages polluting the output to Debug. Anyway, these logging levels seem to be reasonable. I also added Info logging for start/stop/install/restart commands just to have a welcome message in CLI.
2017-04-26 00:35:28 +02:00
Oleg Nenashev a8475e5dfa Merge pull request #212 from oleg-nenashev/feature/log4net_update
Issue #148 - Update log4net to 2.0.8
2017-04-23 18:30:31 +02:00
Oleg Nenashev 7d7000b1b9 Issue #148 - Update log4net to 2.0.8
It effectively bumps the bundled log4net version from 1.2.13 to 2.0.8 (log4net NuGet package used to have different versions).
According to the changelogs, there is no expected compatibility issues: https://logging.apache.org/log4net/release/release-notes.html
2017-04-23 13:41:18 +02:00
Oleg Nenashev a15be04122 [maven-release-plugin] prepare for next development iteration 2017-04-23 09:42:40 +02:00
Oleg Nenashev ad6866f00f [maven-release-plugin] prepare release winsw-2.1.0 2017-04-23 09:42:33 +02:00
Oleg Nenashev 541718b2ca Target release is 2.1.0 2017-04-23 09:42:03 +02:00
Oleg Nenashev b6dc14f6cf Noting 2.1.0 (#209)
* Noting 2.1.0

* Update CHANGELOG.md
2017-04-19 01:33:22 +02:00
Oleg Nenashev d192c03638 #183 - Add core logic for the DelayedStart option support (#205)
* #183 - Add core logic for the DelayedStart option support

* #183 - Add unit tests

* #183 - Update documentation and the configuration sample

* #183 - Use API calls to set the DelayedAutoStart flag as @jtnord proposed

* #183 - Refactor the project to use `delayedAutoStart`
2017-04-18 23:23:52 +02:00
Torsten 5c71911e7b Update CA import link in xmlConfigFile.md (#207)
The URL for the CA import was wrong.
2017-04-15 20:25:21 +02:00
Oleg Nenashev 790b3a6541 Finalize the Download Command changes (#203)
* Refactor parameter parsing in Download.cs, add more checks

* Handle Download#unsecureAuth as boolean

* Parse Enums in a case-insensitive mode, propagate error correctly

* Add tests for the newly introduced functionality

* Update the configuration sample to reflect the recent changes

* Update the sample text according to the proposal from @nightman68
2017-04-13 16:49:59 +02:00
Oleg Nenashev f0770a0e15 Introduce the Download#FailOnError option. (#195)
* Introduce the Download#FailOnError option.

The change also adds logging of download operations to the wrapper log

* Add documentation for the failOnError flag
2017-04-11 22:57:39 +02:00
Torsten 5803d3ce15 Add support of authentication in the download operation (#194)
Issue #126 - Add support of authentication in the download settings
2017-04-11 22:37:44 +02:00
Oleg Nenashev 1b93f81752 [maven-release-plugin] prepare for next development iteration 2017-04-01 16:29:07 +02:00