Using separate log files for api