Commit fb2a24f1 authored by Romain Therville's avatar Romain Therville 🐭
Browse files

Date and time added to the log entries.

Issue #192
parent daaf9194
......@@ -196,7 +196,8 @@ class tx_nG6_db {
$where = join(' AND ', $conditions);
$log_file_path = tx_nG6_utils::get_log_path();
error_log("IN filter_list_retention_data_info(), where=".$where." \n", 3, $log_file_path);
error_log(date("d/m/Y, h:i:s")." IN filter_list_retention_data_info(), where=".$where." \n", 3, $log_file_path);
//error_log(" IN filter_list_retention_data_info(), where=".$where." \n", 3, $log_file_path);
return (tx_nG6_db::select_list_retention_data_info($where));
}
......@@ -338,7 +339,8 @@ class tx_nG6_db {
}
$log_file_path = tx_nG6_utils::get_log_path();
error_log("IN filter_list_retention_data_info(), return=".print_r($by_project,TRUE)." \n", 3, $log_file_path);
error_log(date("d/m/Y, h:i:s")." IN filter_list_retention_data_info(), return=".print_r($by_project,TRUE)." \n", 3, $log_file_path);
//error_log(" IN filter_list_retention_data_info(), return=".print_r($by_project,TRUE)." \n", 3, $log_file_path);
return($by_project);
}
......
......@@ -171,7 +171,7 @@ class tx_nG6_pi6 extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
$analyses_info=Array();
$log_file_path = tx_nG6_utils::get_log_path();
error_log("IN tx_nG6_pi6.php, 'add_purge_demand' \n p = ".print_r($p, TRUE), 3, $log_file_path);
error_log(date("d/m/Y, h:i:s")." IN tx_nG6_pi6.php, 'add_purge_demand' \n p = ".print_r($p, TRUE), 3, $log_file_path);
$all_purgeable_runs=array_merge($p[$project_id]["state"]["stored"]["run_ids"],$p[$project_id]["state"]["extended"]["run_ids"]);
$all_purgeable_analysis=array_merge($p[$project_id]["state"]["stored"]["analysis_ids"],$p[$project_id]["state"]["extended"]["analysis_ids"]);
......@@ -198,7 +198,7 @@ class tx_nG6_pi6 extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
}
$log_file_path = tx_nG6_utils::get_log_path();
error_log("IN tx_nG6_pi6.php, 'add_purge_demand' \n all_purgeable_runs = ".print_r($all_purgeable_runs, TRUE), 3, $log_file_path);
error_log(date("d/m/Y, h:i:s")." IN tx_nG6_pi6.php, 'add_purge_demand' \n all_purgeable_runs = ".print_r($all_purgeable_runs, TRUE), 3, $log_file_path);
#Add purge demand to get id
$purge_demand_id = tx_nG6_db::add_purge_demand($GLOBALS['TSFE']->fe_user->user['uid'],$project_id,$p[$project_id]["total_purgeable_size"],$all_purgeable_runs,$all_purgeable_analysis,$purge_user_id_to);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment