mirror of
https://github.com/lldap/lldap.git
synced 2026-07-25 17:58:44 +00:00
server: Cleanup log messages for ignored attribute warnings
Reduce log messages by remove line break and remove visible \n\ sequence
This commit is contained in:
@@ -82,8 +82,7 @@ pub fn get_group_attribute(
|
|||||||
attribute,
|
attribute,
|
||||||
schema,
|
schema,
|
||||||
).or_else(||{warn!(
|
).or_else(||{warn!(
|
||||||
r#"Ignoring unrecognized group attribute: {}\n\
|
r#"Ignoring unrecognized group attribute: {}. To disable this warning, add it to "ignored_group_attributes" in the config."#,
|
||||||
To disable this warning, add it to "ignored_group_attributes" in the config."#,
|
|
||||||
attribute
|
attribute
|
||||||
);None})?
|
);None})?
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,8 +102,7 @@ pub fn get_user_attribute(
|
|||||||
)
|
)
|
||||||
.or_else(|| {
|
.or_else(|| {
|
||||||
warn!(
|
warn!(
|
||||||
r#"Ignoring unrecognized group attribute: {}\n\
|
r#"Ignoring unrecognized user attribute: {}. To disable this warning, add it to "ignored_user_attributes" in the config."#,
|
||||||
To disable this warning, add it to "ignored_user_attributes" in the config."#,
|
|
||||||
attribute
|
attribute
|
||||||
);
|
);
|
||||||
None
|
None
|
||||||
|
|||||||
Reference in New Issue
Block a user