Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


nomiddlename edited this page · 1 revision

The gelf appender was added to log4js by arifamirani. This allows log4js to log to GELF compatible servers such as Graylog. This is currently configuration based and needs the following configuration to be added to log4j.json. For example:

    "appenders": [  
        "type": "gelf",
        "host": "", //defaults to localhost
        "hostname":"mrs-dev", //defaults to the value returned by os.hostname()
        "port": "12201", //defaults to 12201
        "facility": "myapp" //defaults to nodejs-server
Something went wrong with that request. Please try again.