[IMPROVED] Allow debug console log to logfile

* Needs logging level set to 7 in security config
* Needs debugging enabled in global config