Oops, removed echo again...

This commit is contained in:
simon.kagstrom 2009-03-31 17:17:30 +00:00
parent d5e5d740fd
commit b23dbc74ab

View File

@ -27,7 +27,8 @@ pkt_type_to_str = {
def log(pri, msg, echo):
syslog.syslog(pri, msg)
print msg
if echo:
print msg
def log_error(msg, echo = False):
log(syslog.LOG_ERR, msg, echo)