Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Reduce legacy event log level to debug
This is to reduce log flooding on info log level, which is currently expected tue to deprecated event use in many apps and core: #18331
This information is helpful for developers only, hence should be sufficient as debug log. Especially due to the extremely high frequency this log can happen, this currently practically forces admins to disable info logs, which conflicts with other needs.

Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng committed Jan 18, 2020
commit fbf93de67a594220c1d464c1065b0cc6ee19e89c
2 changes: 1 addition & 1 deletion lib/private/EventDispatcher/SymfonyAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function dispatch($eventName, $event = null) {
$this->eventDispatcher->dispatch($eventName, $event);
} else {
// Legacy event
$this->logger->info(
$this->logger->debug(
'Deprecated event type for {name}: {class}',
[ 'name' => $eventName, 'class' => is_object($event) ? get_class($event) : 'null' ]
);
Expand Down