force log directory to be created