From ce2fbc9ac2e741ffbb85f2c6bf91786e3b2832d5 Mon Sep 17 00:00:00 2001 From: Bryan Tong Date: Tue, 21 Oct 2014 21:41:05 -0600 Subject: [PATCH] cleanup debug messages, for 0.8.4 --- README.md | 3 +++ helpers/Child.js | 4 ++-- package.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6a574c8..b35a664 100644 --- a/README.md +++ b/README.md @@ -499,6 +499,9 @@ $ DEBUG=infant* node app ## Changelog +### 0.8.4 +* Cleaned up debug to no longer use `oose` labeling + ### 0.8.3 * Fixes #1 where complex errors wouldnt bubble upwards for child and cluster * Fixes bug with option handling in `Child.fork()` diff --git a/helpers/Child.js b/helpers/Child.js index 680edef..a039cff 100644 --- a/helpers/Child.js +++ b/helpers/Child.js @@ -289,7 +289,7 @@ Child.parent = function(module,options){ Child.child = function(title,start,stop){ var debug = infantUtil.prefixDebug( process.pid, - require('debug')('oose:child:process') + require('debug')('infant:child:process') ) var doStop = function(){ stop(function(err){ @@ -359,7 +359,7 @@ Child.child = function(title,start,stop){ Child.childOnce = function(title,exec){ var debug = infantUtil.prefixDebug( process.pid, - require('debug')('oose:childOnce:process') + require('debug')('infant:childOnce:process') ) debug('setting process title',title) process.title = title diff --git a/package.json b/package.json index 65886bc..f84012b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "SnailJS ", "name": "infant", "description": "Child process, and cluster helper for Node.js", - "version": "0.8.3", + "version": "0.8.4", "homepage": "http://snailjs.org/", "repository": { "type": "git",