[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Fix log levels notice and warn for new logging stuff
Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv3428/common
Modified Files:
log.h
Log Message:
Fix log levels notice and warn for new logging stuff
Index: log.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/log.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- log.h 25 Oct 2005 08:20:10 -0000 1.54
+++ log.h 25 Oct 2005 17:41:43 -0000 1.55
@@ -134,9 +134,9 @@
#define info(domain, args...) \
_log_fn(LOG_INFO, domain, __PRETTY_FUNCTION__, args)
#define notice(domain, args...) \
- _log_fn(LOG_INFO, domain, __PRETTY_FUNCTION__, args)
+ _log_fn(LOG_NOTICE, domain, __PRETTY_FUNCTION__, args)
#define warn(domain, args...) \
- _log_fn(LOG_INFO, domain, __PRETTY_FUNCTION__, args)
+ _log_fn(LOG_WARN, domain, __PRETTY_FUNCTION__, args)
#define err(domain, args...) \
_log_fn(LOG_ERR, domain, __PRETTY_FUNCTION__, args)
#else