logging spec should be more flexible

## motivation

resolves flickering rspec logging test