Page MenuHomeDevCentral

Example of config.xml file for Apache log4... family
ActivePublic

Authored by dereckson on May 11 2015, 09:13.
<configuration xmlns="http://logging.apache.org/log4php/">
<appender name="fileAppender" class="LoggerAppenderFile">
<layout class="LoggerLayoutPattern">
<param name="conversionPattern" value="%date [%logger] %message%newline" />
</layout>
<param name="file" value="/home/dereckson/dev/wolfplex/api/logs/error.log" />
</appender>
<root>
<level value="WARN" />
<appender_ref ref="fileAppender" />
</root>
</configuration>

Event Timeline

dereckson changed the title of this paste from untitled to Example of config.xml file for Apache log4... family.
dereckson updated the paste's language from autodetect to .
dereckson updated the paste's language from to xml.May 11 2015, 09:14