mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-14 19:19:12 +00:00
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:
parent
a38b46b27d
commit
cecd08df58
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user