projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c73a8a
)
mraa: we now log version and user ID into syslog upon init
author
Alex Tereschenko
<alext.mkrs@gmail.com>
Sun, 25 Jan 2015 14:38:48 +0000
(15:38 +0100)
committer
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Mon, 26 Jan 2015 15:09:47 +0000
(15:09 +0000)
Closes #98.
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/mraa.c
patch
|
blob
|
history
diff --git
a/src/mraa.c
b/src/mraa.c
index
e50ce95
..
f2d4c92
100644
(file)
--- a/
src/mraa.c
+++ b/
src/mraa.c
@@
-70,8
+70,9
@@
mraa_init()
#endif
openlog("libmraa", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL1);
- syslog(LOG_DEBUG,
- "libmraa initialised by user '%s' with EUID %d",
+ syslog(LOG_NOTICE,
+ "libmraa version %s initialised by user '%s' with EUID %d",
+ mraa_get_version(),
(proc_user != NULL) ? proc_user->pw_name : "<unknown>",
proc_euid);