Disable resumption
Some checks failed
Unit Test / test (push) Has been cancelled
ShiftLeft Scan / Scan-Build (push) Has been cancelled

This commit is contained in:
Pascal Engélibert 2025-12-01 17:05:26 +01:00
commit 2a8aba6346
8 changed files with 27 additions and 21 deletions

View file

@ -14,9 +14,9 @@ publish.workspace = true
[features]
default = [
"provider-ring",
"provider-openssl",
# "http3-quinn",
"cache",
# "cache",
"rustls-backend",
"sticky-cookie",
# "acme",
@ -86,3 +86,6 @@ rpxy-certs = { path = "../rpxy-certs/", default-features = false, features = [
rpxy-acme = { path = "../rpxy-acme/", default-features = false, optional = true }
[dev-dependencies]
[patch.crates-io]
rustls = { path = "../rustls" }

View file

@ -60,7 +60,7 @@ fn init_file_logger(level: tracing::Level, log_dir_path: &str) {
.with_writer(system_log)
.with_filter(filter_fn(move |metadata| {
(is_cargo_pkg(metadata) && metadata.name() != log_event_names::ACCESS_LOG && metadata.level() <= &level)
|| metadata.level() <= &tracing::Level::WARN.min(level)
|| metadata.level() <= &tracing::Level::WARN.max(level)
}));
tracing_subscriber::registry().with(access_layer).with(system_layer).init();

View file

@ -27,9 +27,7 @@ fn main() {
runtime.block_on(async {
// Initially load options
let Ok(parsed_opts) = parse_opts() else {
std::process::exit(1);
};
let parsed_opts = parse_opts().unwrap();
init_logger(parsed_opts.log_dir_path.as_deref());