• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest New config entry to define non loggable error log POST fields


Well-known member
I think the title says everything necessary:p
In XenForo_Error
// don't log passwords
         foreach ($request['_POST'] AS $key => &$value) {
           if (strpos($key, 'password') !== false || $key == '_xfToken') {
             $value = '********';

I'd like to censor some important & private userdata before they get saved in the db and get visible in the errorlog

Would be nice if i could insert something like
$config['errorlog_censorfiels'] = array('UID', 'xxx');
into the config file