Permalink
Commits on Apr 2, 2013
  1. 0.6.2

    Gareth Jones committed Apr 2, 2013
  2. fixed the multiprocess tests

    Gareth Jones committed Apr 2, 2013
  3. Merge branch 'master' of https://github.com/dsn/log4js-node into dsn-…

    …master
    Gareth Jones committed Apr 2, 2013
Commits on Apr 1, 2013
  1. merged in change from @vojtajina for pull request #128

    Gareth Jones committed Apr 1, 2013
  2. fix version of node supported

    Gareth Jones committed Apr 1, 2013
  3. Merge pull request #128 from Dignifiedquire/master-engine

    Fix node engine in package.json
    Gareth Jones committed Apr 1, 2013
Commits on Mar 30, 2013
  1. Updated for Node 0.10.x

    net.createServer no longer emits 'connect' event
    Gary Steven committed Mar 30, 2013
Commits on Mar 25, 2013
  1. Merge pull request #125 from jimschubert/master

    Allow for somewhat standard debugging calls
    Gareth Jones committed Mar 25, 2013
Commits on Mar 24, 2013
  1. Add standard debug conditional function

    : master
    jimschubert committed Mar 24, 2013
Commits on Mar 20, 2013
  1. Fixing the wiki links (issue #124)

    Gareth Jones committed Mar 20, 2013
  2. fixed travis node version format

    Gareth Jones committed Mar 20, 2013
Commits on Mar 19, 2013
  1. updated readme with node 0.10 info

    Gareth Jones committed Mar 19, 2013
  2. Fixes for version v0.10 streams, breaks log4js for older versions of …

    …node
    Gareth Jones committed Mar 19, 2013
Commits on Feb 25, 2013
  1. bumped version

    Gareth Jones committed Feb 25, 2013
  2. Merge pull request #116 from imkira/master

    Pass options from multiprocess appender to inner appender
    Gareth Jones committed Feb 25, 2013
Commits on Feb 20, 2013
Commits on Feb 15, 2013
  1. Merge pull request #115 from NicolasPelletier/master

    Speed up file logging for high rate of logging.
    Gareth Jones committed Feb 15, 2013
Commits on Feb 13, 2013
  1. Speed up file logging for high rate of logging.

    During an evaluation of multiple loggers, I saw a slow down when trying to
    quickly log more than 100,000 messages to a file:
    ```javascript
        counter = 150000;
        while (counter) {
            logger.info('Message[' + counter + ']');
            counter -= 1;
        }
    ```
    
    My detailed test can be found here:
     - https://gist.github.com/NicolasPelletier/4773843
    
    The test demonstrate that writing 150,000 lines straight in a FileStream
    takes about 22 seconds until the file content stabilizes. When calling
    logger.debug() 150,000 times, the file stabilizes to its final content
    after 229s ( almost 4 minutes ! ).
    
    After investigation, it turns out that the problem is using an Array() to
    accumulate the data. Pushing the data in the Array with Array.push() is
    quick, but the code flushing the buffer uses Array.shift(), which forces
    re-indexing of all 149,999 elements remaining in the Array. This is
    exponentially slower as the buffer grows.
    
    The solution is to use something else than an Array to accumulate the
    messages. The fix was made using a package called Dequeue
    ( https://github.com/lleo/node-dequeue ). By replacing the Array with
    a Dequeue object, it brought the logging of 150,000 messages back down to
    31s. Seven times faster than the previous 229s.
    
    There is a caveat that each log event is slightly longer due to the need
    to create an object to put in the double-ended queue inside the Dequeue
    object. According to a quick test, it takes about 4% more time per call
    to logger.debug().
    Nicolas Pelletier committed Feb 13, 2013
Commits on Feb 11, 2013
  1. Merge pull request #113 from bitcloud/patternLayout_tokens

    add your own tokens to the patternLayout
    Gareth Jones committed Feb 11, 2013
Commits on Feb 8, 2013
Commits on Jan 21, 2013
  1. Merge pull request #110 from Dignifiedquire/fix-2

    Move examples into their own directory.
    Gareth Jones committed Jan 21, 2013
Commits on Jan 20, 2013
  1. Merge pull request #109 from Dignifiedquire/fix-1

    Misc code highlighting fixes in readme.md
    Gareth Jones committed Jan 20, 2013
Commits on Jan 19, 2013
Commits on Jan 6, 2013
  1. Merge pull request #105 from ulikoehler/readme-syntax-highlighting

    Added syntax highlighting to JS code in README.md
    Gareth Jones committed Jan 6, 2013
Commits on Dec 2, 2012
  1. New version, with colours in pattern layout

    Gareth Jones committed Dec 2, 2012
  2. Merge pull request #101 from Dignifiedquire/feature-color-pattern

    [feature] Add patternColoured Layout.
    Gareth Jones committed Dec 2, 2012
  3. [feature] Add color option to pattern layout.

    Based on #90 this implements the possibillity to add the color codes
    according to the log level via %[ and %].
    dignifiedquire committed Nov 22, 2012
Commits on Nov 9, 2012
  1. fix for issue #100, multiprocess appender and logLevelFilter don't pl…

    …ay nicely
    Gareth Jones committed Nov 9, 2012