Skip to content

jieserver/log4js-udp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log4js-udp

Emit log4js event by udp.The same time,a JieServer/Logx service is running at the remote addres.

usage

npm install --save log4js-udp

log4js.configure({
    "appenders": {
      "upd": {
        "type": "log4js-udp",
        "host": "127.0.0.1",//remote addres
        "port": 18777
      }
    },
    "categories": {
      "default": {
        "appenders": [
          "upd"
        ],
        "level": "all"
      }
    }
  })

Releases

No releases published

Packages

No packages published