aya-rs / book

The Aya Book is an introductory book about using the Rust Programming Language and Aya library to build extended Berkley Packet Filter (eBPF) programs.
https://aya-rs.dev/book/
Apache License 2.0
81 stars 60 forks source link

Switch to env_logger in all examples, mention `RUST_LOG` env variable #66

Closed vadorovsky closed 2 years ago

vadorovsky commented 2 years ago

We are using env_logger in aya-template, so switch to it in all examples for consistency.

Also, mention RUST_LOG env variable when running examples. The default log level of env_logger is error, the most of our examples use info!, so RUST_LOG=info is approrpiate.

Signed-off-by: Michal Rostecki vadorovsky@gmail.com

netlify[bot] commented 2 years ago

Deploy Preview for aya-rs ready!

Name Link
Latest commit f3d9bff2f458e6ee54c297875fa98877caea6332
Latest deploy log https://app.netlify.com/sites/aya-rs/deploys/633c3024e06a9a0009a45886
Deploy Preview https://deploy-preview-66--aya-rs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.