[ Index ] |
|
Code source de LifeType 1.2.4 |
1 <?php 2 # 3 # configuration for the default logger. If it is generating 4 # too much logs for your tatest, set "appender" to "null". This will 5 # be disabled once the final version is out anyway... 6 # 7 8 $config["default"] = Array( 9 "layout" => "%d %N - [%f:%l (%c:%F)] %m%n", 10 "appender" => "null", 11 "file" => PLOG_CLASS_PATH."tmp/lifetype.log", 12 "prio" => "debug" 13 ); 14 15 // debug output sent to debug.log by default. 16 17 $config["debug"] = Array( 18 "layout" => "%t%n%d %N - [%f:%l (%c:%F)] %m%n", 19 "appender" => "null", 20 "file" => PLOG_CLASS_PATH."tmp/debug.log", 21 "prio" => "info" 22 ); 23 # 24 # this logger is the only one enabled by default 25 # and it will log all sql queries that generate an error 26 # to the file tmp/sql_error.log 27 # 28 $config["sqlerr"] = Array( 29 "layout" => "%S%n %d %N - %m%n", 30 "appender" => "file", 31 "file" => PLOG_CLASS_PATH."tmp/sql_error.log", 32 "prio" => "error" 33 ); 34 35 # 36 # special logger for the trackback.php script, it sends the data to 37 # tmp/trackback.log 38 # 39 $config["trackback"] = Array( 40 "layout" => "%d %N - [%f:%l (%c:%F)] %m%n", 41 "appender" => "null", 42 "file" => PLOG_CLASS_PATH."tmp/trackback.log", 43 "prio" => "debug" 44 ); 45 46 # 47 # special logger for metrics and performance statistics. This file is a CSV file and the 48 # columns have the following meaning: 49 # 50 # timestamp (14-digit) 51 # memory usage 52 # total execution time 53 # number of included files 54 # number of SQL queries executed 55 # total number of cache queries 56 # total number of cache hits 57 # total number of cache misses 58 # script being executed 59 # URL being processed 60 # 61 $config["metricslog"] = Array( 62 "layout" => "%m%n", 63 "appender" => "null", 64 "file" => PLOG_CLASS_PATH."tmp/metrics.log", 65 "prio" => "debug" 66 ); 67 68 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |