Merge pull request #452 from thelounge/xpaw/extra-log-info
Print network name and internal ids in debug log
This commit is contained in:
commit
2fedd861d7
@ -70,7 +70,7 @@ module.exports = function(irc, network) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
irc.on("debug", function(message) {
|
irc.on("debug", function(message) {
|
||||||
log.debug("[" + client.name + " on " + network.host + ":" + network.port + "]", message);
|
log.debug("[" + client.name + " (#" + client.id + ") on " + network.name + " (#" + network.id + ")]", message);
|
||||||
});
|
});
|
||||||
|
|
||||||
irc.on("socket error", function(err) {
|
irc.on("socket error", function(err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user