mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 12:35:28 +00:00
Enable logging by default
This commit is contained in:
parent
7a117f3a47
commit
a2f6f5932f
2 changed files with 7 additions and 8 deletions
|
|
@ -42,12 +42,6 @@ All of the command-line arguments are optional. Run `agate --help` to see the d
|
|||
|
||||
When a client requests the URL `gemini://example.com/foo/bar`, Agate will respond with the file at `path/to/content/foo/bar`. If there is a directory at that path, Agate will look for a file named `index.gmi` inside that directory.
|
||||
|
||||
To enable console logging, set a log level via the `AGATE_LOG` environment variable. Logging is powered by the [env_logger crate](https://crates.io/crates/env_logger):
|
||||
|
||||
```
|
||||
AGATE_LOG=info agate --content path/to/content/
|
||||
```
|
||||
|
||||
[Gemini]: https://gemini.circumlunar.space/
|
||||
[Rust]: https://www.rust-lang.org/
|
||||
[home]: gemini://gem.limpet.net/agate/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue