X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=README.txt;h=3769d4cdd55eb816192975a42c3ac676e92d5bd9;hb=143238dfe314c16bc90a6807ab0f00220efd34a2;hp=830ca67f5ce8d784e6748eddf63205ce746edda0;hpb=b197ffd8aebfd6597466f2f537f0a13d1013263a;p=nssm.git diff --git a/README.txt b/README.txt index 830ca67..3769d4c 100644 --- a/README.txt +++ b/README.txt @@ -314,6 +314,15 @@ Rotation is independent of the CreateFile() parameters used to open the files. They will be rotated regardless of whether NSSM would otherwise have appended or replaced them. +NSSM can also rotate files which hit the configured size threshold while the +service is running. To enable this feature, set AppRotateOnline to a non-zero +value. + +Note that online rotation requires NSSM to intercept the application's I/O +and create the output files on its behalf. This is more complex and +error-prone than simply redirecting the I/O streams before launching the +application. Therefore online rotation is not enabled by default. + Environment variables ---------------------