finished cleaning up of logged() internals. Optunity is not fully compatible with Jython 2.7