Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
37a7b35e
Commit
37a7b35e
authored
Oct 07, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log: Move default loglevel macro to header
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
9a54d645
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
log-levels.h
include/log-levels.h
+2
-0
log.c
log.c
+0
-1
No files found.
include/log-levels.h
View file @
37a7b35e
...
@@ -7,4 +7,6 @@
...
@@ -7,4 +7,6 @@
#define LOG_INFO (3)
/* Informative, everything is fine */
#define LOG_INFO (3)
/* Informative, everything is fine */
#define LOG_DEBUG (4)
/* Debug only */
#define LOG_DEBUG (4)
/* Debug only */
#define DEFAULT_LOGLEVEL LOG_WARN
#endif
/* LOG_LEVELS_H__ */
#endif
/* LOG_LEVELS_H__ */
log.c
View file @
37a7b35e
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
#include "util.h"
#include "util.h"
#include "crtools.h"
#include "crtools.h"
#define DEFAULT_LOGLEVEL LOG_WARN
#define DEFAULT_LOGFD STDERR_FILENO
#define DEFAULT_LOGFD STDERR_FILENO
static
unsigned
int
current_loglevel
=
DEFAULT_LOGLEVEL
;
static
unsigned
int
current_loglevel
=
DEFAULT_LOGLEVEL
;
...
...
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