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:
Clemens Schwaighofer
2017-02-22 10:18:53 +09:00
parent bdcd83c579
commit 03be3a317f
4 changed files with 35 additions and 44 deletions

View File

@@ -100,8 +100,8 @@
exit;
}
// set log file name
$this->file_name_ext = '_login_'.date('Y-m-d').'.log';
// log login data for this class only
$this->log_per_class = 1;
// get the language sub class & init it
_spl_autoload('Class.l10n.inc');