diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-09-26 13:07:12 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-09-26 14:09:08 +0300 |
commit | 8c78f118e4a9b74f1236970d04db15385d6b6e98 (patch) | |
tree | e1564d632b628b09b62d61da0d50858b4b2c372f /README | |
parent | ef338f353dc64783fcf0c30ce9e5b380c29ad701 (diff) |
Add info about debug logs in README and Cargo.toml
Diffstat (limited to 'README')
-rw-r--r-- | README | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -54,10 +54,13 @@ DEVELOPMENT Development builds can be built and/or run with # cargo build -# cargo run 2> debug.log +# cargo run -The debug logs can be disabled by setting debug-assertions to false in the -development profile in Cargo.toml. In the future debug logs will be a feature. +There is a debug/tracing log feature that can be enabled by using the flag +`--feature debug-tracing` after uncommenting the features in `Cargo.toml`. The logs +are printed in stderr, thus you can run meli with a redirection (i.e `2> log`) + +Code style follows the default rustfmt profile. CONFIG ====== @@ -68,7 +71,7 @@ meli by default looks for a configuration file in this location: You can run meli with arbitrary configuration files by setting the MELI_CONFIG environment variable to their locations, ie: -# MELI_CONFIG=./test_config cargo run 2> debug.log +# MELI_CONFIG=./test_config cargo run TESTING ======= |