# express-logger

> Express middleware for auto-archiving log files.

Latest version **0.0.3** (published 2014-05-12) · 0 weekly downloads

## Install

```sh
npm install express-logger
pnpm add express-logger
yarn add express-logger
bun add express-logger
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2014-05-12 |
| First published | 2011-09-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.4.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 37 |
| Author | Joe Hewitt |
| Maintainers | joehewitt |
| Keywords | express, logger |

## Links

- npm: https://www.npmjs.com/package/express-logger
- Repository: http://github.com/joehewitt/express-logger
- Issues: https://github.com/joehewitt/express-logger/issues
- npm.io page: https://npm.io/package/express-logger

## Dependencies (3)

- [mkdir](https://npm.io/package/mkdir.md)
- [express](https://npm.io/package/express.md) 2.5.9
- [datetime](https://npm.io/package/datetime.md)

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2014-05-12
- 0.0.2 — 2011-09-12
- 0.0.1 — 2011-09-09

## README

express-logger
===============

Express middleware for auto-archiving log files.

This middleware builds on the built-in Express logger.  It will automatically rotate your logs and archive the old logs daily.

Usage
------------

Works just like express.logger, except that you give it a path instead of a stream.

	var logger = require('express-logger');
	server.use(logger({path: "/path/to/logfile.txt"}));

Installation
------------

    $ npm install express-logger

License 
-------

Copyright 2011 Joe Hewitt

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
 
   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

---
_Source: https://npm.io/package/express-logger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
