Viewing Deployment Files and Configuring Log files

On upgrading your Siebel email drivers to use the 64-bit JRE, the following associated deployment and log files are created in the Siebel Server installation.

Deployment Files

The following files are installed on the Tomcat server for the Siebel Server, in the following location: SIEBEL_ROOT\applicationcontainer_internal\webapps\siebel\WEB-INF\lib.

  • mailservlet.jar

  • JavaMail (jakarta.mail.jar)

Log Files

You can view the following log files for any errors in upgrading:

  • IMAPSMTP.log. This file is generated by the C++ IMAP driver in the Siebel Server log directory.

  • POP3SMTP.log. This file is generated by the C++ POP3 driver in the Siebel Server log directory.

  • mail.log. This file is generated by the email servlet in the Tomcat server’s log directory. You can configure this log file in the file SIEBEL_ROOT\applicationcontainer_internal\webapps\siebel\WEB-INF\log4j2-siebel.xml.

Configuring the mail.log File

The email servlet creates the log4j2-siebel.xml file, which manages the mail.log file. You can configure this file for two purposes:

  • Set the log file size. You can use the default log file size or set the file size value such that when the log file reaches the defined value, a new log file is generated.

  • Set the log level. Set what you want the log file to display for the email servlet. The following log levels are supported: ALL, TRACE, DEBUG, INFO, WARN, ERROR (default), and OFF. For example:

    <RollingFile name="MAIL" fileName="${sys:catalina.base}/logs/mail.log" filePattern="${sys:catalina.base}/logs/mail-%d{MM-dd-yyyy}-%i.log">
                            <PatternLayout>
                                        <pattern>[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n</pattern>
                            </PatternLayout>
                            <Policies>
                                        <SizeBasedTriggeringPolicy size="10 MB"/>
                            </Policies>
                </RollingFile>
     
       <logger name="MAIL" level="ERROR" additivity="false">
          <AppenderRef ref="MAIL"/>
       </logger>