stable

Clone or download

Read-only

Replace dedicated loggers that extends TruncatedLevelLogger

As always inheritence is creating too much coupling and it's hard to introduce the new logging mecanism inside existing loggers. So the design choice is to remove their usage as much as possible and to replace by static factory methods or at least usage of a const when changing the getLogger() method would trigger too much refactoring. The hardest spots are left for dedicated patch. Part of story #14683 install a basic image Change-Id: I88fe0ca356fb09541d07af5dafe47a05cd9cd0e4

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +1 −1 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupLogger.php +0 −36 Go to diff View file
D plugins/bugzilla_reference/include/BugzillaLogger.php +0 −36 Go to diff View file
M plugins/bugzilla_reference/include/bugzilla_referencePlugin.php +1 −2 Go to diff View file
M plugins/git/bin/convert_gitolite_full_logs.php +1 −1 Go to diff View file
M plugins/git/bin/import_all_giotlite3_logs.php +1 −1 Go to diff View file
M plugins/git/include/Git/Repository/GitRepositoryHeaderDisplayerBuilder.php +1 −2 Go to diff View file
D plugins/git/include/GitBackendLogger.php +0 −31 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +4 −5 Go to diff View file
M plugins/git/include/gitPlugin.php +4 −2 Go to diff View file
D plugins/hudson_git/include/Logger.php +0 −37 Go to diff View file
M plugins/hudson_git/include/hudson_gitPlugin.php +8 −4 Go to diff View file
D plugins/hudson_svn/include/SvnBackendLogger.php +0 −37 Go to diff View file
M plugins/hudson_svn/include/hudson_svnPlugin.php +4 −11 Go to diff View file
M plugins/mediawiki/include/mediawikiPlugin.php +1 −1 Go to diff View file
D plugins/openidconnectclient/include/OpenIDConnectClient/OpenIDConnectClientLogger.php +0 −35 Go to diff View file
M plugins/openidconnectclient/include/openidconnectclientPlugin.php +7 −3 Go to diff View file
D plugins/pullrequest/include/PullRequest/Logger.php +0 −37 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/RepositoryResource.php +1 −2 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.php +8 −4 Go to diff View file
M plugins/referencealias_svn/include/referencealias_svnPlugin.php +1 −2 Go to diff View file
M plugins/svn/bin/pre-revprop-change.php +3 −4 Go to diff View file
M plugins/svn/bin/svn_post_commit.php +3 −4 Go to diff View file
M plugins/svn/bin/svn_pre_commit.php +4 −5 Go to diff View file
M plugins/svn/include/Events/SystemEvent_SVN_RESTORE_REPOSITORY.php +3 −4 Go to diff View file
M plugins/svn/include/REST/v1/RepositoryResource.php +1 −2 Go to diff View file
D plugins/svn/include/SVN/SvnLogger.php +0 −37 Go to diff View file
M plugins/svn/include/svnPlugin.php +13 −9 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +1 −2 Go to diff View file
D plugins/tracker/include/Tracker/FormElement/BurndownLogger.php +0 −36 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php +3 −3 Go to diff View file
M src/common/CLI/Command/ImportProjectXMLCommand.php +1 −2 Go to diff View file
M src/common/Project/ProjectCreator.class.php +1 −1 Go to diff View file
M src/common/Project/ProjectXMLExporter.class.php +7 −0 Go to diff View file
D src/common/Project/ProjectXMLExporterLogger.php +0 −31 Go to diff View file
M src/common/Project/ProjectXMLImporter.class.php +6 −1 Go to diff View file
D src/common/Project/ProjectXMLImporterLogger.php +0 −31 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +1 −2 Go to diff View file
M src/common/REST/RESTLogger.php +3 −9 Go to diff View file
M src/common/REST/TuleapRESTAuthentication.php +1 −1 Go to diff View file
D src/common/User/UserSuspensionLogger.php +0 −38 Go to diff View file
M src/common/backend/BackendLogger.class.php +3 −2 Go to diff View file
M src/utils/check_user_mapping_for_project_import.php +1 −1 Go to diff View file
M src/utils/export_project_xml.php +1 −1 Go to diff View file
M src/utils/generate_user_mapping_for_project_import.php +1 −1 Go to diff View file
M src/utils/tuleap.php +1 −2 Go to diff View file
M src/www/api/index.php +1 −1 Go to diff View file
A tests/phpunit/common/Backend/BackendLoggerTest.php +80 −0 Go to diff View file
D tests/simpletest/common/backend/BackendLoggerTest.php +0 −54 Go to diff View file