Fixed push-out shutting down the logger, added debug message for logger exiting.
This commit is contained in:
parent
5fbf4dd23b
commit
69eea675eb
2 changed files with 2 additions and 3 deletions
|
@ -385,10 +385,8 @@ pid_t Util::startPush(std::string & streamname, std::string & target) {
|
||||||
(char*)NULL
|
(char*)NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
int stdIn = 0;
|
|
||||||
int stdOut = 1;
|
|
||||||
int stdErr = 2;
|
int stdErr = 2;
|
||||||
return Util::Procs::StartPiped(argv, &stdIn, &stdOut, &stdErr);
|
return Util::Procs::StartPiped(argv, 0, 0, &stdErr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,7 @@ namespace Controller {
|
||||||
printf("%s", buf);
|
printf("%s", buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Log("LOG", "Logger exiting");
|
||||||
fclose(output);
|
fclose(output);
|
||||||
close((long long int)err);
|
close((long long int)err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue