From 29e36cc4d88e9ee41ba63a4780ba23ba29d762c8 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 17 Oct 2017 18:22:42 -0700 Subject: [PATCH] Command: Avoid using wfDebug() Change-Id: I92ea55d7a5b6a71a6f6b944f377215c08ea3b096 --- includes/shell/Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1