fixed logger file usage in specs