Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
adbe1831
Commit
adbe1831
authored
May 23, 2019
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue when exchange NFAPI_TRACE level to OAI LOG level
parent
81d4202b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
nfapi/oai_integration/nfapi_pnf.c
nfapi/oai_integration/nfapi_pnf.c
+5
-5
No files found.
nfapi/oai_integration/nfapi_pnf.c
View file @
adbe1831
...
@@ -197,19 +197,19 @@ static pthread_t pnf_start_pthread;
...
@@ -197,19 +197,19 @@ static pthread_t pnf_start_pthread;
int
nfapitooai_level
(
int
nfapi_level
)
{
int
nfapitooai_level
(
int
nfapi_level
)
{
switch
(
nfapi_level
)
{
switch
(
nfapi_level
)
{
case
NFAPI_TRACE_ERROR
:
case
NFAPI_TRACE_ERROR
:
return
LOG_ERR
;
return
OAI
LOG_ERR
;
case
NFAPI_TRACE_WARN
:
case
NFAPI_TRACE_WARN
:
return
LOG_WARNING
;
return
OAI
LOG_WARNING
;
case
NFAPI_TRACE_NOTE
:
case
NFAPI_TRACE_NOTE
:
return
LOG_INFO
;
return
OAI
LOG_INFO
;
case
NFAPI_TRACE_INFO
:
case
NFAPI_TRACE_INFO
:
return
LOG_DEBUG
;
return
OAI
LOG_DEBUG
;
}
}
return
LOG_ERR
;
return
OAI
LOG_ERR
;
}
}
void
pnf_nfapi_trace
(
nfapi_trace_level_t
nfapi_level
,
const
char
*
message
,
...)
{
void
pnf_nfapi_trace
(
nfapi_trace_level_t
nfapi_level
,
const
char
*
message
,
...)
{
...
...
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