Fix #247 log directory problem