Added configuration for separate log dir.