CodeIgniter Forums
FileHandler class not found, whenever i try to log something - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: FileHandler class not found, whenever i try to log something (/showthread.php?tid=78005)



FileHandler class not found, whenever i try to log something - ant100984 - 11-18-2020

Fatal error: Uncaught Error: Class 'CodeIgniter\Log\Handlers\FileHandler' not found in ....... /system/Log/Logger.php:366

I have just started a new project with CodeIgniter 4.0.4 and only configured the base url and set the environment do 'development'. Everything seems working fine except for the logging. I got the message above when i try to log something with the log_message function. I am not sure if i am doing something wrong. My environment is Apache on CentOS. Thanks.