Permalink
Browse files

no useless debug anymore

  • Loading branch information...
1 parent c759a9a commit b85916b1491c19afed4894052d4de4be197f012a @bobrik committed Aug 14, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/PuperGrep.js
View
@@ -46,25 +46,19 @@
});
}
- console.log("Got socket.io connection!");
-
socket.emit("logs", {
logs: manager.getLogsNames().sort()
});
socket.on("subscribe", function(data) {
- console.log("Got subscription: ", data);
unsubscribeFromPreviousLog(function(error) {
- console.log(arguments);
if (error) {
console.log(error);
return;
}
manager.getLogReader(data.name, function(error, reader) {
- console.log(arguments);
if (error) {
- console.log(error);
return;
}
@@ -78,8 +72,6 @@
reader.on("line", listener);
reader.attach();
- console.log("attached!");
-
lastLog.name = data.name;
lastLog.listener = listener;
});

0 comments on commit b85916b

Please sign in to comment.