Welcome Guest, Not a member yet? Register   Sign In
Log threshold and environment
#1

(This post was last modified: 01-08-2015, 02:58 PM by guiweber.)

I think it could be useful to have the environment affect what is logged through log_message(). It is currently possible to limit logs by editing $config['log_threshold'] in config.php, but it's kind of annoying to have to edit your config files every time you move to your production or testing environment.

Why not make the environment constant drive what is logged and what is not? The config file could even specify a log threshold for each environment.
Reply


Messages In This Thread
Log threshold and environment - by guiweber - 01-08-2015, 12:45 PM
RE: Log threshold and environment - by Avenirer - 01-12-2015, 01:04 AM
RE: Log threshold and environment - by guiweber - 01-12-2015, 03:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB