Skip to content

Commit

Permalink
watchdog:tail does not use output format system (#5125)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Apr 14, 2022
1 parent 06f21d0 commit d3f4c98
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/Drupal/Commands/core/WatchdogCommands.php
Expand Up @@ -122,20 +122,9 @@ public function watchdogList($substring = '', $options = ['format' => 'table', '
* Continously tail watchdog messages, filtering on type equals php.
* @aliases wd-tail,wt,watchdog-tail
* @validate-module-enabled dblog
* @field-labels
* wid: ID
* type: Type
* message: Message
* severity: Severity
* location: Location
* hostname: Hostname
* date: Date
* username: Username
* @default-fields wid,date,type,severity,message
* @filter-default-field message
* @version 10.6
*/
public function tail(OutputInterface $output, $substring = '', $options = ['format' => 'table', 'severity' => self::REQ, 'type' => self::REQ, 'extended' => false]): void
public function tail(OutputInterface $output, $substring = '', $options = ['severity' => self::REQ, 'type' => self::REQ, 'extended' => false]): void
{
$where = $this->where($options['type'], $options['severity'], $substring);
if (empty($where['where'])) {
Expand Down

0 comments on commit d3f4c98

Please sign in to comment.