diff --git a/includes/config.inc.php b/includes/config.inc.php index be53474..f51d6d1 100644 --- a/includes/config.inc.php +++ b/includes/config.inc.php @@ -32,7 +32,7 @@ else // Log file path $log_file = "$data_dir/logs/app.log"; -// Log level (DEBUG / INFO / WARNING / ERROR / FATAL) +// Log level (TRACE / DEBUG / INFO / WARNING / ERROR / FATAL) $log_level = 'INFO'; // Debug Ajax request/response diff --git a/includes/logging.php b/includes/logging.php index f903c96..72daeb8 100644 --- a/includes/logging.php +++ b/includes/logging.php @@ -15,11 +15,12 @@ $_log_file_fd=null; // Log Levels $_log_levels=array( - 'DEBUG' => 0, - 'INFO' => 1, - 'WARNING' => 2, - 'ERROR' => 3, - 'FATAL' => 4, + 'TRACE' => 0, + 'DEBUG' => 1, + 'INFO' => 2, + 'WARNING' => 3, + 'ERROR' => 4, + 'FATAL' => 5, ); function logging($level, $message) {