mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-31 10:43:10 -06:00
Remove unnecessary startup logging about info level logger.
Fixes https://github.com/matrix-org/dendrite/pull/2060#discussion_r763959474
This commit is contained in:
parent
350954cebe
commit
c4d91fddf0
|
|
@ -12,6 +12,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
//go:build !windows
|
||||||
// +build !windows
|
// +build !windows
|
||||||
|
|
||||||
package internal
|
package internal
|
||||||
|
|
@ -59,7 +60,6 @@ func SetupHookLogging(hooks []config.LogrusHook, componentName string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !stdLogAdded {
|
if !stdLogAdded {
|
||||||
logrus.Info("No std logger config found. Enabling at INFO level by default")
|
|
||||||
setupStdLogHook(logrus.InfoLevel)
|
setupStdLogHook(logrus.InfoLevel)
|
||||||
}
|
}
|
||||||
// Hooks are now configured for stdout/err, so throw away the default logger output
|
// Hooks are now configured for stdout/err, so throw away the default logger output
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue