Software / code / prosody
Comparison
plugins/mod_posix.lua @ 1045:06887b889b17
mod_posix: Remove some debug coooooooooode
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 22 Apr 2009 21:42:19 +0100 |
| parent | 1033:4a9f0d482028 |
| child | 1050:9552c08241af |
| child | 1061:8c5876378c6f |
comparison
equal
deleted
inserted
replaced
| 1033:4a9f0d482028 | 1045:06887b889b17 |
|---|---|
| 41 end | 41 end |
| 42 | 42 |
| 43 local syslog_opened | 43 local syslog_opened |
| 44 function syslog_sink_maker(config) | 44 function syslog_sink_maker(config) |
| 45 if not syslog_opened then | 45 if not syslog_opened then |
| 46 print("OPENING SYSLOOOOOOOOOG"); | |
| 47 pposix.syslog_open("prosody"); | 46 pposix.syslog_open("prosody"); |
| 48 syslog_opened = true; | 47 syslog_opened = true; |
| 49 end | 48 end |
| 50 local syslog, format = pposix.syslog_log, string.format; | 49 local syslog, format = pposix.syslog_log, string.format; |
| 51 return function (name, level, message, ...) | 50 return function (name, level, message, ...) |