3 releases (breaking)

new 0.3.0 Apr 28, 2024
0.2.0 Apr 20, 2024
0.1.0 Mar 16, 2024

#135 in Value formatting

Download history 123/week @ 2024-03-16 5/week @ 2024-03-23 14/week @ 2024-03-30 4/week @ 2024-04-06 143/week @ 2024-04-20

161 downloads per month

Apache-2.0 OR MIT

19KB
349 lines

caddy-pretty-print

Latest Version Apache 2.0 OR MIT licensed

A CLI tool to pretty print Caddy json logs.

Install

If cargo is installed, caddy-pretty-print can be installed with it:

$ cargo install caddy-pretty-print

Alternatively, you can download a pre-built binary for your operating system from the latest release.

How to use

You can pipe the log directly into it, from a file:

cat caddy.log | caddy-pretty-print

Or from the output of any other job

sudo journalctl -u caddy.service --output cat - | caddy-pretty-print

License

Licensed under either of Apache License 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~5–14MB
~194K SLoC