Skip to content

Commit e6c2b81

Browse files
authored
Merge pull request #13 from jianglai/flushing
Log metric flusing error at warning level
2 parents 7674d9d + b549032 commit e6c2b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metrics/src/main/java/com/google/monitoring/metrics/MetricExporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected void run() throws Exception {
6464
writer.flush();
6565
} catch (IOException exception) {
6666
logger.log(
67-
Level.SEVERE, "Threw an exception while writing or flushing metrics", exception);
67+
Level.WARNING, "Threw an exception while writing or flushing metrics", exception);
6868
}
6969
} else {
7070
logger.info("Received a poison pill, stopping now");

0 commit comments

Comments
 (0)