Demote DDNS disabled message to avoid log spam (#188)

Fixes #187
This commit is contained in:
Etienne Dechamps 2023-02-11 23:53:07 +00:00 committed by GitHub
parent 930fd67ae3
commit f6d45c8387
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
use diesel::prelude::*;
use log::{error, info};
use log::{debug, error};
use serde::{Deserialize, Serialize};
use std::thread;
use std::time;
@ -39,7 +39,7 @@ impl Manager {
fn update_my_ip(&self) -> Result<(), Error> {
let config = self.config()?;
if config.host.is_empty() || config.username.is_empty() {
info!("Skipping DDNS update because credentials are missing");
debug!("Skipping DDNS update because credentials are missing");
return Ok(());
}