Hi,

Shameless advertising https://github.com/thomasfr/node-konsole


kind regards


Am 26.03.2012 um 13:57 schrieb dolphin 278:

> You can use method logger.log, that takes level as first argument, so you can 
> take it from configuration, or environment variable, or smth like this.
> ---------
> Boris Egorov
> skype/gtalk/nickname: dolphin278
> mobile: +7 905 728 1543
> 
> 
> On Mon, Mar 26, 2012 at 11:19 AM, deitch <[email protected]> wrote:
> Just checked it out, very nice. And you recommendations are usually good, 
> Marak, so +2 there.
> 
> How would you change log level settings in real-time? E.g. let's say I have a 
> node.js node (pun intended) running with the following:
> 
> logger.info('we are started');
> // accepts some connection
> logger.debug('received a request to "+req.url);
> 
> Normally, I run as info, but suddenly problems appear in a deployed 
> environment. I don't want to restart the server, as the problems might go 
> away, I want real-time visibility into what is happening. 
> 
> How do I change logLevel from info to debug on the fly?
> 
> 
> On Monday, March 26, 2012 1:12:28 AM UTC+2, Marak Squires wrote:
> +1 to Winston
> 
> On Sun, Mar 25, 2012 at 4:00 PM, dolphin 278 <> wrote:
> I recommend 'winston'. https://github.com/​flatiron/winston
> ---------
> Boris Egorov
> skype/gtalk/nickname: dolphin278
> mobile: +7 905 728 1543
> 
> 
> 
> On Mon, Mar 26, 2012 at 2:34 AM, deitch <> wrote:
> What do people here recommend for logging? In the old Java days, I would use 
> Apache commons-logging or log4j, sprinkle tons of log('debug',msg) statements 
> all over the place, and raise/lower the debug level using an environment var.
> 
> Of course, I much prefer turning it on to debug mode and connecting 
> node-inspector and the WebKit interface, but that is not possible in a 
> cloud-based prod environment.
> 
> Thanks.
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/​node/wiki/Mailing-List-​Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> nodejs+unsubscribe@​googlegroups.com
> For more options, visit this group at
> http://groups.google.com/​group/nodejs?hl=en?hl=en
> 
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/​node/wiki/Mailing-List-​Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> nodejs+unsubscribe@​googlegroups.com
> For more options, visit this group at
> http://groups.google.com/​group/nodejs?hl=en?hl=en
> 
> 
> 
> -- 
> -- 
> Marak Squires
> Co-founder and Chief Evangelist
> Nodejitsu, Inc.
> 
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
> 
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to