change log level defaults + log level of some logs

This commit is contained in:
Alex Janka 2024-04-25 09:08:50 +10:00
parent 8c4c3cb78e
commit e803fa4edf
2 changed files with 3 additions and 3 deletions

View file

@ -686,7 +686,7 @@ impl From<CharacteristicTypeInner> for CharacteristicType {
fn from(value: CharacteristicTypeInner) -> Self {
match value {
CharacteristicTypeInner::Unknown(v) => {
log::info!("unknown characteristic type: {v}");
log::debug!("unknown characteristic type: {v}");
Self::Unknown
}
CharacteristicTypeInner::AccessControlLevel => Self::AccessControlLevel,
@ -1206,7 +1206,7 @@ impl From<ServiceTypeInner> for ServiceType {
fn from(value: ServiceTypeInner) -> Self {
match value {
ServiceTypeInner::Unknown(v) => {
log::info!("unknown service type: {v}");
log::debug!("unknown service type: {v}");
Self::Unknown
}
ServiceTypeInner::AccessControl => Self::AccessControl,

View file

@ -7,7 +7,7 @@ StartLimitIntervalSec=0
Type=simple
Restart=always
RestartSec=10s
Environment="RUST_LOG=error,warn,mdns=off,homekit_controller::pairing_data::characteristics=off"
Environment="RUST_LOG=warn,mdns=off"
Environment="LOG_TIMESTAMP=false"
ExecStart=/usr/bin/homekit-exporter watch