Code Context }
$output = date('Y-m-d H:i:s') . ' ' . ucfirst($type) . ': ' . $message . "\n";
return file_put_contents($filename, $output, FILE_APPEND);
$type = 'debug'
$message = 'took[1] rows[0] SELECT `FrontPageBlock`.`id`, `FrontPageBlock`.`category_id`, `FrontPageBlock`.`block_type`, `FrontPageBlock`.`first_id`, `FrontPageBlock`.`page_no`, `FrontPageBlock`.`title`, `FrontPageBlock`.`title_alias`, `FrontPageBlock`.`page_name`, `FrontPageBlock`.`link_url`, `FrontPageBlock`.`titletext`, `FrontPageBlock`.`top_img_path`, `FrontPageBlock`.`description`, `FrontPageBlock`.`keyword`, `FrontPageBlock`.`meta_robots`, `FrontPageBlock`.`meta_refresh`, `FrontPageBlock`.`html_head`, `FrontPageBlock`.`html_body`, `FrontPageBlock`.`edit_user_id`, `FrontPageBlock`.`edit_user_name`, `FrontPageBlock`.`maker_code`, `FrontPageBlock`.`shashu_code`, `FrontPageBlock`.`parameter_1`, `FrontPageBlock`.`parameter_2`, `FrontPageBlock`.`sort`, `FrontPageBlock`.`dsp_pubdt`, `FrontPageBlock`.`dsp_sttdt`, `FrontPageBlock`.`dsp_enddt`, `FrontPageBlock`.`edit_status`, `FrontPageBlock`.`open_status`, `FrontPageBlock`.`crt_user_id`, `FrontPageBlock`.`wrt_user_id`, `FrontPageBlock`.`created`, `FrontPageBlock`.`modified`, `FrontPageBlock`.`deleted` FROM `nucleus_db`.`real_page_blocks` AS `FrontPageBlock` WHERE `link_url` = 'editor/_10092.html' AND `deleted` IS NULL LIMIT 1'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/vol/www/www-test_carsensor/html/contents/tmp/logs/20250406_debug.log'
$output = '2025-04-11 03:18:59 Debug: took[1] rows[0] SELECT `FrontPageBlock`.`id`, `FrontPageBlock`.`category_id`, `FrontPageBlock`.`block_type`, `FrontPageBlock`.`first_id`, `FrontPageBlock`.`page_no`, `FrontPageBlock`.`title`, `FrontPageBlock`.`title_alias`, `FrontPageBlock`.`page_name`, `FrontPageBlock`.`link_url`, `FrontPageBlock`.`titletext`, `FrontPageBlock`.`top_img_path`, `FrontPageBlock`.`description`, `FrontPageBlock`.`keyword`, `FrontPageBlock`.`meta_robots`, `FrontPageBlock`.`meta_refresh`, `FrontPageBlock`.`html_head`, `FrontPageBlock`.`html_body`, `FrontPageBlock`.`edit_user_id`, `FrontPageBlock`.`edit_user_name`, `FrontPageBlock`.`maker_code`, `FrontPageBlock`.`shashu_code`, `FrontPageBlock`.`parameter_1`, `FrontPageBlock`.`parameter_2`, `FrontPageBlock`.`sort`, `FrontPageBlock`.`dsp_pubdt`, `FrontPageBlock`.`dsp_sttdt`, `FrontPageBlock`.`dsp_enddt`, `FrontPageBlock`.`edit_status`, `FrontPageBlock`.`open_status`, `FrontPageBlock`.`crt_user_id`, `FrontPageBlock`.`wrt_user_id`, `FrontPageBlock`.`created`, `FrontPageBlock`.`modified`, `FrontPageBlock`.`deleted` FROM `nucleus_db`.`real_page_blocks` AS `FrontPageBlock` WHERE `link_url` = 'editor/_10092.html' AND `deleted` IS NULL LIMIT 1
'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 87
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 452
CakeLog::debug() - CORE/Cake/Log/CakeLog.php, line 544
MysqlLog::execute() - APP/Model/Datasource/Database/MysqlLog.php, line 17
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 669
DboSource::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1080
Model::find() - CORE/Cake/Model/Model.php, line 2642
FrontsController::blogs_article() - APP/Controller/FrontsController.php, line 728
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 98