Showing results for 
Search instead for 
Do you mean 

Advanced Java logging for Data Manager (2020 and later)

by Technical Evangelist ‎10-23-2020 02:23 AM - edited ‎10-23-2020 02:23 AM (51 Views)

By default, the Data Manager creates log file in the user's folder:


However, the log file may not contain all essential information for troubleshooting like for example complete network traffic.

Apart from that file, users can also enable native Java logging by modifying file found in %JAVA_HOME%. The location may vary depending on JDK supplier, but the typical locations may be:

  • %JAVA_HOME%\jre\lib
  • %JAVA_HOME%\conf
  • etc.

The following settings will create log file in users's home folder (e.g. C:\Users\<username>\java0.log):


# add file logging handler
handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler

# default file output is in user's home directory. E.g. C:\Users\<username>\java0.log
java.util.logging.FileHandler.pattern = %h/java%u.log
# raising the file size limit to ~5 MB
java.util.logging.FileHandler.limit = 5000000 # changed file handler level to FINE java.util.logging.FileHandler.level = FINE java.util.logging.FileHandler.count = 10 # change file handler to use to plain mode - more human-readable # java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter

After chaning the logging file, close and re-open Data Manager and check if the log file is getting populated.


Remeber to disable the file logging after issue has been identified to overcome creating large log files on the drive.