caddy-pretty-print

Crates.iocaddy-pretty-print
lib.rscaddy-pretty-print
version0.3.0
sourcesrc
created_at2024-03-16 14:53:58.233273
updated_at2024-04-28 14:51:21.714305
descriptionA CLI tool to pretty print Caddy json logs.
homepagehttps://github.com/mattiapenati/caddy-pretty-print
repositoryhttps://github.com/mattiapenati/caddy-pretty-print
max_upload_size
id1175691
size62,295
Mattia Penati (mattiapenati)

documentation

README

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.

Commit count: 8

cargo fmt