Welcome Guest, Not a member yet? Register   Sign In
Unecessary Log File Entries?
#1
Question 

So far I've come across these log file entries that appear to document normal operation of the code (vs warnings or errors)... which means they are probably only cluttering log files (and don't seem to add very much value (?)):

In system/Security/Security.php
   log_message('info', 'CSRF token verified.');

In system/Session/Session.php:
    $this->logger->info("Session: Class initialized using '" . $this->config->driver . "' driver.");

There are probably many others (?).

Is there a good reason for them that I can't see (considering a lot more detail is likely available in other logs (like the Apache logs))?... and there is no easy way to stop this logging (without commenting in the system code), is there?
Reply


Messages In This Thread
Unecessary Log File Entries? - by Gary - 01-22-2024, 04:58 PM
RE: Unecessary Log File Entries? - by kenjis - 01-26-2024, 06:26 PM
RE: Unecessary Log File Entries? - by Gary - 02-09-2024, 02:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB