Skip to content

Commit e04064a

Browse files
fix: additional logging for expr eval (#18)
fix: additional logging for expr eval Additional debug to find out for which service expression was evaluated Reviewed-by: Vladimir Hasko <[email protected]>
1 parent ae0e1ae commit e04064a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/common.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ pub async fn get_service_health(
127127
Ok(m) => {
128128
if m {
129129
expression_res = expr.weight as u8;
130+
tracing::debug!(
131+
"Summary of evaluation expression for service: {:?}, expression: {:?}, weight: {:?}",
132+
service,
133+
expr.expression,
134+
expr.weight
135+
);
130136
}
131137
}
132138
Err(e) => {

0 commit comments

Comments
 (0)