Added mkdir for logger