added function for clearing rails logs