Fixing logging when runnign behave