summaryrefslogtreecommitdiff
path: root/system/config/log.php
blob: 3b43777104993a5cd29c742c7149c2fd6f1de228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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');