log to console if DEBUG set.. otherwise syslog