Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jenny Ryan
ouinet
Commits
1208a414
Commit
1208a414
authored
Dec 17, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Use logger for all injector messages.
parent
09556100
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/injector.cpp
View file @
1208a414
...
...
@@ -10,7 +10,6 @@
#include <boost/uuid/uuid_io.hpp>
#include <chrono>
#include <ctime>
#include <iostream>
#include <fstream>
#include <string>
...
...
@@ -561,7 +560,7 @@ void listen( InjectorConfig& config
sys
::
error_code
ec
;
proxy_server
.
start_listen
(
yield
[
ec
]);
if
(
ec
)
{
std
::
cerr
<<
"Failed to setup ouiservice proxy server: "
<<
ec
.
message
()
<<
endl
;
LOG_ERROR
(
"Failed to setup ouiservice proxy server: "
,
ec
.
message
()
)
;
return
;
}
...
...
@@ -629,7 +628,7 @@ int main(int argc, const char* argv[])
config
=
InjectorConfig
(
argc
,
argv
);
}
catch
(
const
exception
&
e
)
{
cerr
<<
e
.
what
()
<<
endl
;
LOG_ABORT
(
e
.
what
())
;
return
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment