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.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/system/config/log.php b/system/config/log.php
new file mode 100644
index 0000000..3b43777
--- /dev/null
+++ b/system/config/log.php
@@ -0,0 +1,35 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+/**
+ * Log Config
+ *
+ * @package Kohana
+ * @author Kohana Team
+ * @copyright (c) 2007-2009 Kohana Team
+ * @license http://kohanaphp.com/license
+ */
+
+/**
+ * Different log levels
+ */
+$config['log_levels'] = array
+(
+ 'error' => 1,
+ 'alert' => 2,
+ 'info' => 3,
+ 'debug' => 4,
+);
+
+/**
+ * See different log levels above
+ */
+$config['log_threshold'] = 1;
+
+/**
+ * Log Date format
+ */
+$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