Remove unnecessary startup logging about info level logger.

Fixes
https://github.com/matrix-org/dendrite/pull/2060#discussion_r763959474
This commit is contained in:
Martin Ashby 2021-12-07 13:46:45 +00:00
parent 350954cebe
commit c4d91fddf0
No known key found for this signature in database
GPG key ID: 7C2A95403085B982

View file

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build !windows
// +build !windows
package internal
@ -59,7 +60,6 @@ func SetupHookLogging(hooks []config.LogrusHook, componentName string) {
}
}
if !stdLogAdded {
logrus.Info("No std logger config found. Enabling at INFO level by default")
setupStdLogHook(logrus.InfoLevel)
}
// Hooks are now configured for stdout/err, so throw away the default logger output