Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
ocfs2-tools
force-debug.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File force-debug.patch of Package ocfs2-tools
--- ocfs2_controld/ocfs2_controld.h | 7 +++++++ 1 file changed, 7 insertions(+) Index: ocfs2_controld/ocfs2_controld.h =================================================================== --- a/ocfs2_controld/ocfs2_controld.h.orig 2008-10-26 18:10:50.000000000 +0100 +++ b/ocfs2_controld/ocfs2_controld.h 2009-03-10 22:22:52.719197000 +0100 @@ -44,12 +44,19 @@ extern void daemon_dump_save(void); #define log_debug(fmt, args...) \ do { \ + syslog(LOG_DEBUG, fmt, ##args); \ snprintf(daemon_debug_buf, 1023, "%ld %s@%d: " fmt "\n", \ time(NULL), __FUNCTION__, __LINE__, ##args); \ if (daemon_debug_opt) fprintf(stderr, "%s", daemon_debug_buf); \ daemon_dump_save(); \ } while (0) +#define log_info(fmt, args...) \ +do { \ + log_debug(fmt, ##args); \ + syslog(LOG_INFO, fmt, ##args); \ +} while (0) + #define log_error(fmt, args...) \ do { \ log_debug(fmt, ##args); \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor