Change the logging file name set
The date part is not set external, but internal via a flag. The file name extension cannot be set anymore and the file_name_ext has been removed and is now log_file_name_ext and privte. This is a drop in solution and can be used with previous settings. Changes that should be done: Class.Login: remove the file name ext and replace it with log_per_class = 1 Remove all file_name_ext entries as they area not needed anymore
This commit is contained in:
@@ -54,9 +54,6 @@
|
||||
print "DEBUG OUT ALL: ".$basic->debug_output_all."<br>";
|
||||
print "ECHO OUT ALL: ".$basic->echo_output_all."<br>";
|
||||
print "PRINT OUT ALL: ".$basic->print_output_all."<br>";
|
||||
// file name (logging)
|
||||
print "FILENAME EXT: ".$basic->file_name_ext."<br>";
|
||||
print "MAX FILESIZE: ".$basic->max_filesize."<br>";
|
||||
|
||||
print "CALLER BACKTRACE: ".$basic->get_caller_method()."<br>";
|
||||
$basic->debug('SOME MARK', 'Some error output');
|
||||
|
||||
@@ -56,8 +56,6 @@
|
||||
$smarty = new SmartyML($lang);
|
||||
// create new DB class
|
||||
$cms = new AdminBackend($DB_CONFIG[MAIN_DB], $lang);
|
||||
// set daily rotation
|
||||
$cms->file_name_ext = '_'.date('Y-m-d').'.log';
|
||||
// set search path to the default DB schema
|
||||
$cms->db_exec("SET search_path TO ".DB_SCHEMA);
|
||||
// the menu show flag (what menu to show)
|
||||
|
||||
Reference in New Issue
Block a user