-
Notifications
You must be signed in to change notification settings - Fork 55
Description
In a recent performance competition with another application server, an application with incredibly heavy System.out/System.err usage highlighted the fact that Liberty defaults to sending System.out/System.err messages to both messages.log and process stdout/stderr (e.g. cosnole.log):
copySystemStreams
com.ibm.ws.logging.copy.system.streams
If this setting is set to true, messages that are written to the System.out and System.err streams are copied to process stdout and stderr streams and so appear in the console.log file. If this setting is set to false, those messages are written to configured logs such as the messages.log file or trace.log file, but they are not copied to stdout and stderr and do not appear in console.log. The default value is true.
This will be worse performance compared to just sending to messages.log and the performance overhead will be proportional to the volume of System.out/System.err usage.
It would be useful to highlight this in the Liberty Performance tuning page.