Skip to content

Commit 25de1c7

Browse files
adjust log levels
Took 3 minutes
1 parent 88201f3 commit 25de1c7

File tree

1 file changed

+4
-4
lines changed
  • src/main/java/aminetti/adventofcode2024/day03

1 file changed

+4
-4
lines changed

src/main/java/aminetti/adventofcode2024/day03/Day03.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,18 @@ public long solvePart2() {
4949
String fullMatch = matcher.group(0);
5050
if (fullMatch.startsWith("mul")) {
5151
if (mulEnabled) {
52-
LOGGER.info("Executing {}", fullMatch);
52+
LOGGER.debug("Executing {}", fullMatch);
5353
Long a = Long.valueOf(matcher.group(1));
5454
Long b = Long.valueOf(matcher.group(2));
5555
sum += a * b;
5656
} else {
57-
LOGGER.info("Skipping {}", fullMatch);
57+
LOGGER.debug("Skipping {}", fullMatch);
5858
}
5959
} else if (fullMatch.startsWith("do()")) {
60-
LOGGER.info("Enabling {}", fullMatch);
60+
LOGGER.debug("Enabling {}", fullMatch);
6161
mulEnabled = true;
6262
} else if (fullMatch.startsWith("don't()")) {
63-
LOGGER.info("Disabling {}", fullMatch);
63+
LOGGER.debug("Disabling {}", fullMatch);
6464
mulEnabled = false;
6565
}
6666
}

0 commit comments

Comments
 (0)