How to disable stdout and stderr logging on Windows
Last updated
Last updated
When DBSync is run as a Windows Service, Tomcat creates additional stdout and stderr log files under logs. These logs are in addition to DBSync's own log files and are not necessary, and in some cases, you may wish to disable them to save disk space.
Identify the name of the service that DBSync is installed as in Windows (Control Panel > Administrative Tools > Services):
Open a command prompt from Start > Run > type 'cmd' > Enter.
Change the directory to the bin directory of your DBSync installation directory.
Click on the Logging tab to see the current logging configuration:
Under Redirect Stdout and Redirect Stderror, remove the value "auto" so the fields are left empty.
Click Apply and OK to save your changes.
After these settings changes, restart DBSync, and the Tomcat container will no longer log further output to stdout or stderr. Any pre-existing logs will remain and can safely be removed.