January 2019
Intermediate to advanced
520 pages
14h 32m
English
Build this application with cargo build, or with the following command, if you want to play with the code:
cargo watch --ignore *.log -x run
We use the cargo-watch tool, but ignore log files, because these will be created when the application is run. After the application has started, you will the following records in the Terminal:
version: 0.1.0 host: localhost port: 8080 Jan 20 18:13:53.061 DEBG started Jan 20 18:13:53.062 DEBG 2 workers Jan 20 18:13:53.062 DEBG request, from: example.com Jan 20 18:13:53.062 ERRO worker failed, worker_id: 1 Jan 20 18:13:53.063 CRIT server can't continue to work
As you can see, no records with the Debug level were filtered in the Terminal output. As you may remember, we duplicated logging ...
Read now
Unlock full access