Exploring stdout redirection
This commit is contained in:
parent
b56b9895ed
commit
ee7f05b52b
4 changed files with 4 additions and 2 deletions
|
@ -3243,7 +3243,7 @@ int main(int argc, char **argv)
|
||||||
std::string apikey = item.second[0];
|
std::string apikey = item.second[0];
|
||||||
std::string usercode = item.second[1]; // all three defined in anticipation of later use
|
std::string usercode = item.second[1]; // all three defined in anticipation of later use
|
||||||
if (received_api_key == apikey) {
|
if (received_api_key == apikey) {
|
||||||
LOG("Apikey found for user %s\n", username.c_str());
|
LOG("Apikey found for user %s with username %s\n", username.c_str(), usercode.c_str());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ extern bool server_log_json;
|
||||||
|
|
||||||
struct LogRedirection {
|
struct LogRedirection {
|
||||||
// Set default values for redirection targets and reset strings
|
// Set default values for redirection targets and reset strings
|
||||||
std::string stdout_target = "stdout_log.log";
|
std::string stdout_target = "stdout";
|
||||||
std::string stdout_reset = "stdout";
|
std::string stdout_reset = "stdout";
|
||||||
std::string stderr_target = "stderr_log.log";
|
std::string stderr_target = "stderr_log.log";
|
||||||
std::string stderr_reset = "stderr";
|
std::string stderr_reset = "stderr";
|
||||||
|
|
1
realtime-bakllava
Submodule
1
realtime-bakllava
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 808f902bb9065497e3a23a59b71e945ee982a3dd
|
1
vision-core-ai
Submodule
1
vision-core-ai
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit a2d199f3edfdf0e8b8451cb4e404ef1498ae7f21
|
Loading…
Add table
Add a link
Reference in a new issue