Fixed an issue with the whenever log directory.