Updated the rake tasks to build the log directory if it does not exists and added in the overall :start and :stop tasks.