mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-14 18:58:35 +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(
|
pub fn init_logger(
|
||||||
env_var_name: &str,
|
env_var_name: &str,
|
||||||
default_log_level: LevelFilter,
|
default_log_level: LevelFilter,
|
||||||
_application_name: &str,
|
|
||||||
) -> Result<(), anyhow::Error> {
|
) -> Result<(), anyhow::Error> {
|
||||||
let mut log_level = default_log_level;
|
let mut log_level = default_log_level;
|
||||||
if let Ok(v) = env::var(env_var_name) {
|
if let Ok(v) = env::var(env_var_name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user