Page MenuHomePhabricator

Use PSR logging instead of wfdebuglog in MassAction
Closed, ResolvedPublic

Description

Remove wfdebuglog calls and use the Logger!!!!

LoggerFactory::getInstance( $logGroup )
$logger->info( $text, $context )

Please see the contents of https://github.com/wikimedia/mediawiki/blob/master/includes/GlobalFunctions.php#L1156 for how to use the logger.
Loggers should either be injected in the constructor of objects needing to log or an instance got from the factory there

Event Timeline

Addshore claimed this task.
Addshore raised the priority of this task from to Medium.
Addshore updated the task description. (Show Details)
Addshore added a project: MassAction.
Addshore added a subscriber: Addshore.
Addshore renamed this task from Use PSR logging instead of wfdebuglog to Use PSR logging instead of wfdebuglog in MassAction.Dec 4 2015, 12:29 PM
Addshore updated the task description. (Show Details)
Addshore set Security to None.

I will mentor this task for GCI 2015

Change 262353 had a related patch set uploaded (by Addshore):
Use PSR logging instead of wfDebugLog()

https://gerrit.wikimedia.org/r/262353

Addshore claimed this task.

Change 262353 merged by jenkins-bot:
Use PSR logging instead of wfDebugLog()

https://gerrit.wikimedia.org/r/262353