wrapper.console.direct |
||||||||
When set to TRUE, the Wrapper will make use of Windows APIs to write console log output to the console window. When FALSE, the Wrapper works like UNIX in that it writes the output to the stdout or stderr pipes. Writing to pipes makes it possible to redirect the output into another application. Unfortunately, Windows is very slow at rendering output in the console that is received via a pipe. If you redirect to a file or another application, then this rendering speed hit can be avoided. The default value is "TRUE".
Previous versions of the Wrapper 3.5.21 all made use of the pipe output method. We chose to change the default behaviour so the majority of users would be able to take advantage of these speed increases. You will need to reenable pipe output if and only if you need to be able to redirect the output.
If you are running as a service then a console will normally not exist.
The exception is if you have both the wrapper. WARNINGAll Java output is sent across into own stdout/stderr pipes to the Wrapper process. If the Wrapper is slow writing to the console or file, then it will also slow down the ability to read output from Java. If the pipe becomes full because the Wrapper has not read everything, then the Java end of the pipe will block trying to write its output. This can have a performance impact on your application, and it is important to be aware of it. Any application will have this problem, including a standalone Java process.
You can alleviate this problem by enabling the wrapper. |
Reference: Console |
|