Express | Loggly IIS
A module that sends logging information to your Loggly instance.
Here's how to set up Loggly IIS with your existing Express server:
npm install --save @onenorth/express-loggly-iis
app.use(expressLogglyIIS)before all of your routes.
const express =const expressLogglyIIS =const app =// !!! Important for logging IP addresses on Heroku !!!appappappappappapp
To configure this with your Express instance, please use the following environment variables:
The customer token generated from Loggly. Find out more about how to create a token here.
A comma-separated list of tags you want to use for filtering logs.
Please add in your site's tag, along with
LOGGLY_SUBDOMAIN (Defaults to
The subdomain associated with Loggly (you can leave this alone).
The subdomain option is only here in case hosting decides to change their standard endpoint.