Mart Server Log Files

Mart Server can now generate log files (application.log) when there are errors. You can find the log file at the following locations:

  • Mart Server as a Tomcat server: {user.home}/AppData/Local/erwin/Mart Server/logs/application.log
  • Mart Server as Windows service: C:\Windows\System32\config\systemprofile\AppData\Local\erwin\Mart Server\logs\application.log

You can configure how the log is generated. For more information about how to configure logging, see the erwin Mart Administrator Help.

Note: The latest version of Apache Tomcat does not support custom authorization-related error messages. Hence, a generic error message, "Unauthorized operation attempted. For more information, please review the log file.", is displayed. To understand the cause of the error, review the application.log file, which contains the description of the cause. Following is one such sample from the application.log file:

ERROR exception.MMException.setException: java.lang.Exception: 
User "johndoe" does not have required "View Users" permission on 
"User Management". Please contact the Mart Administrator for 
required permission.

This section contains the following topics

Generate Log Files on the Mart Server

Enable Logging