mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Log FailureAnalyzer errors at trace level
Update `FailureAnalyzers` to log errors at `trace` rather than `debug`. This should reduce noise when an analyzer unexpectedly fails and the user is running with `--debug`. Fixes gh-24630
This commit is contained in:
parent
a24ec9d372
commit
7cbd57b635
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -114,7 +114,7 @@ final class FailureAnalyzers implements SpringBootExceptionReporter {
|
||||
}
|
||||
}
|
||||
catch (Throwable ex) {
|
||||
logger.debug(LogMessage.format("FailureAnalyzer %s failed", analyzer), ex);
|
||||
logger.trace(LogMessage.format("FailureAnalyzer %s failed", analyzer), ex);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user