1.0.4 • Published 6 years ago

apache-like-accesslog v1.0.4

Weekly downloads
37
License
-
Repository
github
Last release
6 years ago

apache-like-accesslog


A simple apache-like access log middleware for nodejs.

Description

Accesslog will generate a apache like access.log file that can produce the two main formats: CLF and EXTENDED

Usage

var accesslog = require('apache-like-accesslog');
[…express...]
app.use(accesslog.logger);

Configuration

Accesslog will produce a log file called "access.log" inside the ./logs directory of your application root. You can overwrite this defaults by passing a configuration object into the accesslog.configure function.

accesslog.configure({
	format: 'CLF',
	directory: 'logs',
	filename: 'access.log'});



1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.0

7 years ago

0.0.5

9 years ago

0.0.4

10 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago