Skip to content

Commit

Permalink
Document log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Scavo authored May 2, 2017
1 parent fe16e29 commit 394209c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,21 @@ First let's configure logging. For convenience, we will log directly to the term

```Shell
$ export LOG_FILE=/dev/tty
$ export LOG_LEVEL=3
```

The system defaults to INFO logging, which corresponds to `LOG_LEVEL=3`. We make that explicit as follows:
Various log levels are supported:

```Shell
$ export LOG_LEVEL=3
```
| | `LOG_LEVEL` |
| --- | :---: |
| TRACE | 5 |
| DEBUG | 4 |
| INFO | 3 |
| WARN | 2 |
| ERROR | 1 |
| FATAL | 0 |

The default logging level is INFO.

Next we define a couple of HTTP resources and a cache:

Expand Down

0 comments on commit 394209c

Please sign in to comment.