Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 16, 2012
  1. Version 0.5.4

    authored
  2. Merge pull request #98 from danbell/master

    authored
    Check environment variable LOG4JS_CONFIG for configuration file location.
Commits on Oct 15, 2012
  1. @danbell
  2. @danbell
Commits on Sep 25, 2012
  1. Version 0.5.3

    authored
Commits on Sep 24, 2012
Commits on Sep 17, 2012
Commits on Sep 5, 2012
Commits on Sep 4, 2012
Commits on Aug 14, 2012
  1. version 0.5.2

    authored
Commits on Aug 13, 2012
  1. Merge pull request #89 from ixti/master

    authored
    Fix possible memleak with `exit` event handlers
Commits on Aug 9, 2012
  1. @ixti
  2. @ixti
Commits on Aug 1, 2012
  1. Merge pull request #86 from osher/patch-3

    authored
    Update lib/layouts.js
  2. @osher
Commits on Jul 31, 2012
  1. @osher

    Update lib/layouts.js

    osher authored
    Errors sometimes carry additional attributes on them as part of the passed error data.
    A utility that utilizes it, for example - is called 'errs', which is in use for instance 'nano' - the couch-db driver.
    
    when only the stack is printed - all the additional information that is augmented on the error object does not sink to the log and is lost.
    
    consider the following code:
    
    ```
    //the oups throwing utility
    function oups(){
      e = new Error();
      extend(
        { message    : "Oups error"
        , description: "huston, we got a problem"
        , status     : "MESS"
        , errorCode  : 991
        , arr :[1,2,3,4,{}]
        , data: 
          { c:{}
          , d:{e:{}}
          }
        }
      throw e;
    }
    
    var log = require('log4js')
    
    try{
      oups()
    } catch( e ) {
       log.error("error on oups", e );
    }
    
    ```
    
    
    output before the fix
    
    ```
    error on oups Error: Oups error
        at repl:1:11
        at REPLServer.eval (repl.js:80:21)
        at Interface.<anonymous> (repl.js:182:12)
        at Interface.emit (events.js:67:17)
        at Interface._onLine (readline.js:162:10)
        at Interface._line (readline.js:426:8)
        at Interface._ttyWrite (readline.js:603:14)
        at ReadStream.<anonymous> (readline.js:82:12)
        at ReadStream.emit (events.js:88:20)
    ```
    
    
    output after the fix would be
    
    ```
    error on oups { [Error: My error message]
      name: 'Error',
      description: 'huston, we got a problem',
      status: 'MESS',
      errorCode: 991,
      arr: [ 1, 2, 3, 4, {} ],
      data: { c: {}, d: { e: {} } } }
    Error: Oups error
        at repl:1:11
        at REPLServer.eval (repl.js:80:21)
        at Interface.<anonymous> (repl.js:182:12)
        at Interface.emit (events.js:67:17)
        at Interface._onLine (readline.js:162:10)
        at Interface._line (readline.js:426:8)
        at Interface._ttyWrite (readline.js:603:14)
        at ReadStream.<anonymous> (readline.js:82:12)
        at ReadStream.emit (events.js:88:20)
    ```
Commits on Jul 3, 2012
  1. bumped npm version

    authored
  2. use os.EOL instead of \n

    authored
  3. removed 0.7 added 0.8

    authored
Commits on Jun 29, 2012
  1. Merge pull request #78 from druciak/smtp

    authored
    SMTP appender migrated to nodemailer 0.3.x
Commits on Jun 28, 2012
  1. example now works

    authored
Something went wrong with that request. Please try again.