log: remove unused init_logger argument

The `_application_name` argument is not used anymore. It was previously
used to set the correct journald unit-name, which is now handled
automatically.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
This commit is contained in:
Gabriel Goller 2024-07-12 12:07:32 +02:00 committed by Wolfgang Bumiller
parent a38b46b27d
commit cecd08df58

View File

@ -40,7 +40,6 @@ tokio::task_local! {
pub fn init_logger(
env_var_name: &str,
default_log_level: LevelFilter,
_application_name: &str,
) -> Result<(), anyhow::Error> {
let mut log_level = default_log_level;
if let Ok(v) = env::var(env_var_name) {