diff --git a/www/admin/class_test.admin.backend.php b/www/admin/class_test.admin.backend.php
index a37fe5fe..1786b8b8 100644
--- a/www/admin/class_test.admin.backend.php
+++ b/www/admin/class_test.admin.backend.php
@@ -6,11 +6,6 @@
declare(strict_types=1);
-$DEBUG_ALL_OVERRIDE = false; // set to 1 to debug on live/remote server locations
-$DEBUG_ALL = true;
-$PRINT_ALL = true;
-$DB_DEBUG = true;
-
error_reporting(E_ALL | E_STRICT | E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR);
ob_start();
@@ -27,15 +22,10 @@ $SET_SESSION_NAME = EDIT_SESSION_NAME;
ob_end_flush();
$session = new CoreLibs\Create\Session($SET_SESSION_NAME);
-$log = new CoreLibs\Debug\Logging([
+$log = new CoreLibs\Logging\Logging([
'log_folder' => BASE . LOG,
- 'file_id' => $LOG_FILE_ID,
- // add file date
- 'print_file_date' => true,
- // set debug and print flags
- 'debug_all' => $DEBUG_ALL,
- 'echo_all' => $ECHO_ALL,
- 'print_all' => $PRINT_ALL,
+ 'log_file_id' => $LOG_FILE_ID,
+ 'log_per_date' => true,
]);
// db config with logger
$db = new CoreLibs\DB\IO(DB_CONFIG, $log);
@@ -72,9 +62,6 @@ $backend->adbMsg('info', 'Message: %1$d', [1]);
print "Messaes: " . Support::printAr($backend->messages) . "
";
print "ADBPRINTDATETIME:
" . $backend->adbPrintDateTime(2021, 6, 21, 6, 38, '_test') . "
";
-// error message
-print $log->printErrorMsg();
-
print "