proper log output directory