Working with Log Files > Portal Log Files
  
Version 10.2.00
Portal Log Files
Key log files are managed by a logging subsystem, which manages the log size, and rolls and deletes old files. Log files are used only as an audit trail for troubleshooting, so they can be deleted safely.
Locations in this table represent the default locations, but these may have been modified for your environment.
Table 2 Portal Log Files
Log File Name
Default Location
Description
access.log
C:\opt\apache\logs
/opt/apache/logs
Standard Web server access log.Use this log to analyze request processing time, request method, page hit count, and session activity.
aptareagent-access*.log
C:\opt\apache\logs
/opt/apache/logs
Standard Web Server access log. Logs all http transactions between the Data Collector and the Web Server.
aptareagent-error*.log
C:\opt\apache\logs
/opt/apache/logs
/opt/tomcat/logs
Standard Web Server error log file. Logs http transaction errors between the Data Collector and the Web Server.
aptareportal-access*.log
C:\opt\apache\logs
/opt/apache/logs
Standard Web Server access log. Logs all http transactions between the browser based Portal application and the Web Server.
aptareportal-error*.log
C:\opt\apache\logs
/opt/apache/logs
Standard Web Server error log file. Logs http transaction errors between the browser-based Portal application and the Web Server.
aptareStartup.log
/opt/aptare/logs
Contains startup and shutdown information for the Portal services (e.g., from running /opt/aptare/bin/xxx start|stop), If a service fails to start, check this log file for details.
audit.log
C:\opt\tomcat\logs\
/opt/tomcat/logs/
By default, logs portal login requests and user impersonations in the Portal web browser window. Modifications can be made to log additional user activity. See Logging User Activity in audit.log.
catalina.out
 
C:\opt\tomcat\aptare-instances\portal\logs
/opt/tomcat/aptare-instances/portal/logs
For Tomcat, this is the standard destination log file for System.out and System.err console messaging.
datarcvr*.log
C:\opt\tomcat\logs
/opt/tomcat/logs
 
Detailed logging for the data receiver - the servlet that receives data from the Data Collectors on the Master Server(s). Logs Data Collector connection requests/issues, data received, and database interaction.
error.log
C:\opt\apache\logs
/opt/apache/logs
Standard Web Server error log file.
portal*.log
C:\opt\tomcat\logs\
/opt/tomcat/logs/
Detailed logging for the Portal servlet. Logs portal login requests, user impersonations, portal reports that are run - basically all actions in the Portal web browser window. Database problems are displayed as SQL exceptions and often list the associated Oracle error number (ORA nnn).
stderr.log
 
C:\opt\tomcat\logs\
/opt/tomcat/logs/
High-level log messaging for Tomcat.
Tomcat Standard Log Files (Portal)
admin*.log
C:\opt\tomcat\aptare-instances\portal\logs
/opt/tomcat/aptare-instances/portal/logs
Apache Tomcat provides several file handlers that write messages to application-specific log files. The date is appended to admin in the name of the file.
catalina*.log
C:\opt\tomcat\aptare-instances\portal\logs
/opt/tomcat/aptare-instances/portal/logs
Apache Tomcat provides several file handlers that write messages to application-specific log files. The date is appended to catalina in the name of the file.
host-manager*.log
C:\opt\tomcat\aptare-instances\portal\logs
/opt/tomcat/aptare-instances/portal/logs
Apache Tomcat provides several file handlers that write messages to application-specific log files. The date is appended to host-manager in the name of the file.
manager*.log
C:\opt\tomcat\aptare-instances\portal\logs
/opt/tomcat/aptare-instances/portal/logs
Apache Tomcat provides several file handlers that write messages to application-specific log files. The date is appended to manager in the name of the file.
Tomcat Standard Log Files (Data Receiver)
admin*.log
C:\opt\tomcat\aptare-instances\agent\logs
/opt/tomcat/aptare-instances/agent/logs
Apache Tomcat provides several file handlers that write messages to application-specific log files. The date is appended to admin in the name of the file.
catalina*.log
C:\opt\tomcat\aptare-instances\agent\logs
/opt/tomcat/aptare-instances/agent/logs
Apache Tomcat provides several file handlers that write messages to application-specific log files. The date is appended to catalina in the name of the file.
host-manager*.log
C:\opt\tomcat\aptare-instances\agent\logs
/opt/tomcat/aptare-instances/agent/logs
Apache Tomcat provides several file handlers that write messages to application-specific log files. The date is appended to host-manager in the name of the file.
manager*.log
C:\opt\tomcat\aptare-instances\agent\logs
/opt/tomcat/aptare-instances/agent/logs
Apache Tomcat provides several file handlers that write messages to application-specific log files. The date is appended to manager in the name of the file.
Managing Apache Log Files
Even if you set up Apache logs for a regularly scheduled rotation, space issues can still occur. You must purge older files if maintaining space is more important than preserving logs. Logs are not automatically deleted.
Set up a cron job to remove older apache logs. By default, these logs rotate, but they are not removed. Create scheduled jobs to delete logs that are <XX> days old.