logmanager fixed double logging