logging: flush_handlers for service (re)start