David Ed Mellum

Results 5 comments of David Ed Mellum

Hey there Sam. I haven't been able to do much Node.js programming lately, so this might take a little while to fix unless you're able to help me out. First...

I tried using json_env_logger and `method` and `duration` are still unquoted. Almost seems like neither femme nor json_env_logger supports extra fields without manually adding quotes. I haven't really kept up...

Using a patch pointing to your branch fixes the unquoted strings, but now I get two `level` fields like this: `{"level":30,"time":1606482508910,"msg":"Logger started","level":"INFO"}` I can't quite figure out why though. 🤔

I believe it's from [this line](https://github.com/http-rs/tide/blob/8d27871ebf27cc047393862bac1150106b7db177/src/log/mod.rs#L33). I've reproduced the bug with a hello world Tide app with patch.crates-io pointing to your `fix-kv-ndjson` femme branch doing `tide::log::start();`

Or fixing this [this bug](https://github.com/lrlna/femme/issues/26) you've reported might let Tide stop logging a level field altogether?