Fix inverted ifs when renaming log. #262
Merge pull request #264 from stuartjmoore/master

Fix inverted ifs when renaming log. #262
Closese #262