init log early so that we create zmc_m.log instead of undef.log

pull/2736/head
Isaac Connor 2019-09-17 11:37:48 -04:00
parent 6041616efc
commit 0d347f0cf5
1 changed files with 1 additions and 1 deletions

View File

@ -187,8 +187,8 @@ int main(int argc, char *argv[]) {
snprintf(log_id_string, sizeof(log_id_string), "zmc_m%d", monitor_id); snprintf(log_id_string, sizeof(log_id_string), "zmc_m%d", monitor_id);
} }
logInit(log_id_string);
zmLoadConfig(); zmLoadConfig();
logInit(log_id_string); logInit(log_id_string);
hwcaps_detect(); hwcaps_detect();