PHP Classes

File: log_config.xml

Recommend this page to a friend!
  Classes of Istvan Dobrentei  >  PHP Timesheet Management System  >  log_config.xml  >  Download  
File: log_config.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Timesheet Management System
Manage project tasks and the respective work times
Author: By
Last change:
Date: 3 years ago
Size: 730 bytes


Class file image Download
<configuration xmlns="">

    <appender name="myConsoleAppender" class="LoggerAppenderConsole" />

    <appender name="myFileAppender" class="LoggerAppenderFile">
        <layout class="LoggerLayoutPattern">
            <param name="conversionPattern" value="%date [%logger] %message%newline" />
        <param name="file" value="../log/timesheet.log" />

    <logger name="test">
        <appender_ref ref="myConsoleAppender" />

    <logger name="timesheetlogger">
        <appender_ref ref="myFileAppender" />

        <level value="DEBUG" />
        <appender_ref ref="myConsoleAppender" />
For more information send a message to info at phpclasses dot org.