You can use the log settings to set how the system logs errors and warnings.
To set your log settings:
- Open the Primavera P6 Administrator.
- In the Configurations tab, expand your configuration.
- Expand Log/Console Logger.
- In the Severity Level field, enter severity level for the Console Logger.
Note: The ranges are inclusive. For example, choose "debug" to log all messages; choose "warning" to log both warning and error level messages.
- In the Enabled field, choose true to enable the console logger or false to disable the console logger.
- Expand Log/File Logger.
- In the Archive Size field, enter the minimum size (in Kb) a log file must be before it is archived.
The default is 1024.
Enter anything from 1024-2073600000.
- In the Severity Level field, enter the severity level for the File Logger.
Note: The ranges are inclusive. For example, choose "debug" to log all messages; choose "warning" to log both warning and error level messages.
- In the Number of Archive Files field, enter the maximum number of log files to use.
Enter anything from 2-2073600000.
Note: The default files are named WebAccessLog0.html through WebAccessLog5.html.
- In the HTML field, choose true to log as HTML or false to log as plain text.
- In the Enabled field, choose true to enable the File Logger or false to disable it.
Note: Log files are created in a folder named WebAccessLogs, located in:
- WebLogic on Windows:
webaccesshome\WebAccessLogs
- WebSphere on Windows:
webaccesshome\WebAccessLogs
- WebSphere on Oracle Enterprise Linux:
/mount_point/WebSphere/AppServer/WebAccessLogs
- Expand Log/Email Logger.
Note: The email logger only sends information about Error messages. Messages are sent asynchronously.
- In the SMTP Host field, enter SMTP server that will send the e-mail message.
- In the From Email Address field, enter the e-mail address that you want to send log messages.
- In the To Email Address field, enter the e-mail address where you would like log messages sent.
- In the Email Subject field, enter the subject line for error e-mails. The default is P6 Web Access error.
- In the Enabled field, choose true to enable the email logger or false to disable it.
- Expand Log.
- In the Asynchronous field, choose true to log messages after the previous one has been logged for better performance or false to disable this feature.