Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Rollout log causes 'No output stream or file named'

SA-12756

Summary



Error found in server logs after configuring PegaRULES log files daily rolling in the prlogging.xml file.
 

Error Messages



log4j:ERROR No output stream or file set for the appender named [ALERT].


Steps to Reproduce



There are no specific use case to reproduce this issue.


Root Cause



In prlogging.xml file, the required File parameter is missing in the ALERT File Appender definition of class com.pega.apache.log4j.DailyRollingFileAppender.

Resolution



This issue is resolved through the following local-change:

Edit the prlogging.xml file to provide the required parameters for the File Appender definition.

The usual structure of a DailyRollingFileAppender is as follow:

    <appender name="YOUR_APPENDER_NAME" class="com.pega.apache.log4j.DailyRollingFileAppender">
        <param name="DatePattern" value="'.'yyyy-MMM-dd"/>
        <param name="File" value="YOUR_LOG_PATH/YOUR_LOG_FILE_NAME"/>
        <layout class="com.pega.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="YOUR_CONVERSION_PATTERN" />
        </layout>
    </appender>


Please see the following PDN article for reference on the procedure to customize logs with the prlogging.xml file:
https://pdn.pega.com/node/2068

Published August 28, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us