Skip to content

Commit

Permalink
Document how to turn on logging (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Sep 2, 2022
1 parent 2b3ce3b commit e3968f9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,14 @@ If `bitcoind` is not on mainnet, is not run by the same user, has a non-default
datadir, or a non-default port, you'll need to pass additional flags to `ord`.
See `ord --help` for details.

### Logging

`ord` uses [env_logger](https://docs.rs/env_logger/latest/env_logger/). Set the `RUST_LOG` environment variable in order to turn on logging. For example, run the server and show `info`-level log messages and above:

```
$ RUST_LOG=info cargo run server
```

Index
-----

Expand Down

0 comments on commit e3968f9

Please sign in to comment.