dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c42d8
)
Command: Avoid using wfDebug()
author
Kunal Mehta
<legoktm@member.fsf.org>
Wed, 18 Oct 2017 01:22:42 +0000
(18:22 -0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Wed, 18 Oct 2017 01:22:42 +0000
(18:22 -0700)
Change-Id: I92ea55d7a5b6a71a6f6b944f377215c08ea3b096
includes/shell/Command.php
patch
|
blob
|
history
diff --git
a/includes/shell/Command.php
b/includes/shell/Command.php
index
4fc282c
..
59f40bf
100644
(file)
--- 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