From: Kunal Mehta Date: Wed, 18 Oct 2017 01:22:42 +0000 (-0700) Subject: Command: Avoid using wfDebug() X-Git-Tag: 1.31.0-rc.0~1734 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=29e36cc4d88e9ee41ba63a4780ba23ba29d762c8;p=lhc%2Fweb%2Fwiklou.git Command: Avoid using wfDebug() Change-Id: I92ea55d7a5b6a71a6f6b944f377215c08ea3b096 --- diff --git a/includes/shell/Command.php b/includes/shell/Command.php index 4fc282c8c4..59f40bff26 100644 --- a/includes/shell/Command.php +++ b/includes/shell/Command.php @@ -253,7 +253,7 @@ class Command { if ( !$useLogPipe && $this->useStderr ) { $cmd .= ' 2>&1'; } - wfDebug( __METHOD__ . ": $cmd\n" ); + $this->logger->debug( __METHOD__ . ": $cmd" ); // Don't try to execute commands that exceed Linux's MAX_ARG_STRLEN. // Other platforms may be more accomodating, but we don't want to be