Redirect System.out and System.err to a file or a pipe
Generated exe supports to redirect System.out and System.err to a file as a log file, or to redirect System.out and System.err to a pipe, which will be another program's input.
The stdout redirection can be enabled by a configure item in configuration file. By default, stdout redirection is not enabled, except that stderr of Service type application is enabled.
Redirect to a Pipe
To redirect to a pipe makes it possible to use the advantages of cronolog, which is a powerful tool to split the output into daily or monthly logs. Use a "|" and "command line" as stdout target to redirect to a pipe.
Configure Item 'stdout' and 'stderr'
In configuration file, stdout is to redirect System.out, stderr is to redirect Sytem.err.
See stdout, stderr page for details of stdout rediection configuration.
About Service Type
For Service type of application, System.err is a redirected to a disk file by default.
See Run as Service page for more information about Service type of application.