Andrew Lamb
d35b74c226
fix: Fix doc build warnings ( #1945 )
...
* fix: Fix doc build warnings
* refactor: add deny bare_urls to crates
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-13 08:03:42 +00:00
Andrew Lamb
e6d995cbd8
chore: Update to Rust 1.53.0 ( #1922 )
...
* chore: Update to Rust 1.53.0
* fix: Update to latest clippy standards
* fix: bad refactor
* fix: Update escaping
* test: update test output
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-07 18:02:03 +00:00
Marko Mikulicic
f2c7454274
fix: Use layered tracing
2021-06-28 18:37:12 +02:00
Marko Mikulicic
1ff0e8d8d4
fix: Fix trailing newline emission in case of truncated log line
2021-06-28 12:23:53 +02:00
Marko Mikulicic
15b709f89c
fix: Increase line buffer to avoid frequent interleaved logs
2021-06-25 17:41:28 +02:00
Marko Mikulicic
22aa80969d
test: Ensure disabled logs don't eval args
2021-06-25 10:16:43 +02:00
Marko Mikulicic
5175ecbbe1
chore: Add our linting rules to the trogging crate
2021-06-23 17:10:17 +02:00
Marko Mikulicic
4adf3b5e52
chore: Split LoggingConfig out of TracingConfig
...
Client CLI utils only need LoggingConfig. Servers need also the TracingConfig
2021-06-16 16:07:57 +02:00
Marko Mikulicic
58e1494ca2
chore: Allow custom default log level
...
This PR moves the definition of the `log_filter` default value from the `structopt` annotation
to the `trogging::Builder`. This allows users of `trogging` to define their own default value
for the log level.
2021-06-16 13:30:32 +02:00
Marko Mikulicic
760bcde3f0
feat: Factor out tracing/logging CLI options
...
This PR factors out the tracing/logging CLI optinos into the `trogging` utility crate,
so that multiple binaries from the IOx suite (such as conductor) can use the same (and quite complex)
logging/tracing configuration options (flags and env vars).
Closes influxdata/conductor#343
2021-06-16 00:54:11 +02:00
Marko Mikulicic
bde35cf5be
chore: Pull tracing+logging setup in its own crate
...
1. so that it can be reused by other binaries (e.g. conductor)
2. so that it's faster to build when working on it.
2021-06-15 14:52:04 +02:00