Working with Log Files > Portal Log Files
  
Version 9.2.01
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 16.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.
catalina.out
 
/opt/tomcat/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
All portal.log files found within these directories:
C:\opt\tomcat\logs\
/opt/tomcat/logs/
Detailed logging for the Portal servlet. Logs Portal login requests, Portal reports that are run - basically everything the user does in the Portal web browser window. Database problems show up 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)
Log Location: If the /opt/tomcat/logs directory exists, the following files will be found there. Otherwise, they can be found in /opt/tomcat/aptare-instances/portal/logs
admin*.log
See log location above.
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
See log location above.
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
See log location above.
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
See log location above.
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)
Log Location: If the /opt/tomcat/logs directory exists, the following files will be found there. Otherwise, they can be found in /opt/tomcat/aptare-instances/agent/logs
admin*.log
See log location above.
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
See log location above.
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
See log location above.
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
See log location above.
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.