This question is also asked here -https://stackoverflow.com/questions/68920982/codeigniter-4-hide-session-class-initialized-message and I have same query
How do I removeĀ Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver from my codeigniter logs , they are filling up entire server log file. Multiple of them.
I'm also having this problem. The .env file sets CI_ENVIRONMENT to production and $threshold is set to the default value of 4 but the following INFO messages are still being logged:
INFO - 2022-07-21 00:10:49 --> Used the default controller.
INFO - 2022-07-21 00:10:49 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.