add 'flush logs'