set different path for config and log directory