Article ID: 127342, created on Nov 5, 2015, last review on Nov 5, 2015

  • Applies to:
  • Business Automation 6.0

Symptoms

poa-ui.log is missing on a UI node.

Restarting pemui and pem syslogd services did not help, the log file is simply not being created.

Cause

Log configuration file log4j.xml is either empty or contains an error.

The file itself ought to be placed in:

Linux:

    /usr/local/apache-tomcat-x.x.xx/lib/log4j.xml

Windows:

    C:\Program Files\SWsoft\PEM\apache-tomcat-x.x.xx\lib\log4j.xml

Resolution

  1. Compare log4j.xml to the same file from some correctly working node or to the example below (for instance, path may contain spaces):

    Linux:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration>
    <appender name="POA"
            class="com.plesk.p2.turbine.services.logging.RollingFileAppender">
            <param name="Append" value="true" />
            <param name="MaxSizeBackupIndex" value="10" />
            <param name="MaxTimeBackupIndex" value="5" />
            <param name="File" value="/var/log/poa-ui" />
            <param name="DatePattern" value="'.'yyyy-MM-dd" />
            <layout class="org.apache.log4j.PatternLayout">
                    <param name="ConversionPattern" value="%d{ISO8601} %-10.10X{sid} %-5.5t %-6p %-20.20c{1} %m%n" />
            </layout>
    </appender>
    <logger name="OUT">
            <level value="DEBUG" />
    </logger>
    <logger name="ERR">
            <level value="DEBUG" />
    </logger>
    <logger name="Debug">
            <level value="DEBUG" />
    </logger>
    <logger name="CORBA">
            <level value="DEBUG" />
    </logger>
    <logger name="com.plesk">
            <level value="TRACE" />
    </logger>
    <logger name="com.parallels">
            <level value="TRACE" />
    </logger>
    <root>
            <level value="INFO" />
            <appender-ref ref="POA" />
    </root>
    </log4j:configuration>
    

    Windows:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration>
    <appender name="POA"
    class="com.plesk.p2.turbine.services.logging.RollingFileAppender">
    <param name="Append" value="true" />
    <param name="MaxSizeBackupIndex" value="10" />
    <param name="MaxTimeBackupIndex" value="5" />
    <param name="File" value="C:\\\\Program Files (x86)\\\\SWsoft\\\\PEM\\\\Logs\\\\pemui\\poa-ui" />
    <param name="DatePattern" value="'.'yyyy-MM-dd" />
    <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern" value="%d{ISO8601} %-10.10X{sid} %-5.5t %-6p %-20.20c{1} %m%n" />
    </layout>
    </appender>
    <logger name="OUT">
    <level value="DEBUG" />
    </logger>
    <logger name="ERR">
    <level value="DEBUG" />
    </logger>
    <logger name="Debug">
    <level value="DEBUG" />
    </logger>
    <logger name="CORBA">
    <level value="DEBUG" />
    </logger>
    <logger name="com.plesk">
    <level value="TRACE" />
    </logger>
    <logger name="com.parallels">
    <level value="TRACE" />
    </logger>
    <root>
    <level value="INFO" />
    <appender-ref ref="POA" />
    </root>
    

  2. Restart pemui and pem syslogd services.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328

Email subscription for changes to this article
Save as PDF