summaryrefslogtreecommitdiff
path: root/system/config/log.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/config/log.php')
-rw-r--r--system/config/log.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/config/log.php b/system/config/log.php
new file mode 100644
index 00000000..5be2c41e
--- /dev/null
+++ b/system/config/log.php
@@ -0,0 +1,19 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+
+// Different log levels
+$config['log_levels'] = array
+(
+ 'error' => 1,
+ 'alert' => 2,
+ 'info' => 3,
+ 'debug' => 4,
+);
+
+// See different log levels above
+$config['log_threshold'] = 1;
+
+$config['date_format'] = 'Y-m-d H:i:s P';
+
+// We can define multiple logging backends at the same time.
+$config['drivers'] = array('file'); \ No newline at end of file