Added stream name to logging
This commit is contained in:
parent
ac92e09262
commit
3cb03392e1
7 changed files with 34 additions and 7 deletions
|
@ -71,7 +71,7 @@ namespace Controller {
|
|||
rlxLogs->setEndPos(logCounter);
|
||||
}
|
||||
}else{
|
||||
std::cerr << kind << "|MistController|" << getpid() << "||" << message << "\n";
|
||||
std::cerr << kind << "|MistController|" << getpid() << "|||" << message << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -95,6 +95,7 @@ namespace Mist {
|
|||
int Input::boot(int argc, char * argv[]){
|
||||
if (!(config->parseArgs(argc, argv))){return 1;}
|
||||
streamName = nProxy.streamName = config->getString("streamname");
|
||||
Util::Config::streamName = streamName;
|
||||
|
||||
if (config->getBool("json")) {
|
||||
std::cout << capa.toString() << std::endl;
|
||||
|
|
|
@ -79,6 +79,7 @@ namespace Mist{
|
|||
//If we have a streamname option, set internal streamname to that option
|
||||
if (!streamName.size() && config->hasOption("streamname")){
|
||||
streamName = config->getString("streamname");
|
||||
Util::Config::streamName = streamName;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue