mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-01 07:26:10 +02:00
Doc updates
This commit is contained in:
parent
ad2382c1f2
commit
78b78e8c79
5 changed files with 70 additions and 14 deletions
|
@ -3,7 +3,7 @@ layout: page
|
|||
title: Monitoring Logs
|
||||
---
|
||||
## Monitoring Logs
|
||||
ENiGMA½ does not produce much to stdout. Logs are produced by Bunyan which outputs each entry as a JSON object.
|
||||
ENiGMA½ does not produce much to stdout. Logs are produced by [Bunyan](https://github.com/trentm/node-bunyan) which outputs each entry as a JSON object.
|
||||
|
||||
Start by installing bunyan and making it available on your path:
|
||||
|
||||
|
@ -11,11 +11,11 @@ Start by installing bunyan and making it available on your path:
|
|||
npm install bunyan -g
|
||||
```
|
||||
|
||||
or with Yarn:
|
||||
or via Yarn:
|
||||
```bash
|
||||
yarn global add bunyan
|
||||
```
|
||||
|
||||
|
||||
To tail logs in a colorized and pretty format, issue the following command:
|
||||
```bash
|
||||
tail -F /path/to/enigma-bbs/logs/enigma-bbs.log | bunyan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue