Welcome Guest, Not a member yet? Register   Sign In
log_message entries question
#1

Hi, I've
  • downloaded a fresh copy of 4.3.0
  • updated .env with CI_ENVIRONMENT = development and logger.threshold = 7
  • added log_message('info', 'for your information'); to the end of app\Config\Boot\development.php
  • browsed to the welcome page
and writable\logs\log-2023-01-11.log contains 3 entries.

Does this seem excessive?
Reply
#2

(01-11-2023, 01:42 PM)paulkd Wrote: Does this seem excessive?

What do you mean?
Reply
#3

Hi kenjis,

I expected a single entry for a single page request.

I found the cause. It was in app\Config\Boot\development.php just above my log_message call.

PHP Code:
defined('CI_DEBUG') || define('CI_DEBUG'true); 

I changed the value to false.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB