working version (settings working only when logger is active)