Modified how logghandler works

Modifed how logghandler works a bit, and also added support for it under
Bf4Handler as well. Might need some tweaks..