Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-udr
Commits
096a3f97
Commit
096a3f97
authored
Jan 28, 2021
by
yangjian
Browse files
update logger
parent
0b0c3bef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/impl/AuthenticationStatusDocumentApiImpl.cpp
View file @
096a3f97
...
...
@@ -70,13 +70,16 @@ void AuthenticationStatusDocumentApiImpl::create_authentication_status(const std
}
mysql_free_result
(
res
);
// std::cout << query << std::endl;
if
(
mysql_real_query
(
mysql_WitcommUDRDB
,
query
.
c_str
(),
(
unsigned
long
)
query
.
size
()))
{
std
::
cout
<<
"mysql
_
rea
l_query
failure!"
<<
std
::
endl
;
Logger
::
udr_server
().
error
(
"mysql
c
rea
te
failure!"
)
;
return
;
}
to_json
(
j
,
authEvent
);
std
::
string
out
=
j
.
dump
();
Logger
::
udr_server
().
debug
(
"AuthenticationSubscription PATCH - json:
\n\"
%s
\"
"
,
out
.
c_str
());
response
.
send
(
Pistache
::
Http
::
Code
::
No_Content
,
""
);
}
...
...
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