stable

Clone or download

Read-only

request #7350 Tv3 export to Tv5: Improve logging

Introduce: * Stacked logging ([one][two]...) so we know were we are in our logs * Filtered logging (by level) so we don't log too much things * Log broker so we can distribute logs on various devices Change-Id: I645050235bfeb92a2a187fb497d9c25ca93c0a41

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/XMLImport.class.php +11 −3 Go to diff View file
A plugins/tracker/include/Tracker/Migration/MailLogger.class.php +99 −0 Go to diff View file
M plugins/tracker/include/Tracker/Migration/MigrationLogger.php +14 −71 Go to diff View file
M plugins/tracker/include/Tracker/Migration/MigrationManager.php +13 −3 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/tests/Artifact/XMLImportTest.php +1 −1 Go to diff View file
A plugins/tracker/tests/Tracker/Migration/MigrationLoggerTest.php +79 −0 Go to diff View file
M src/common/autoload.php +5 −2 Go to diff View file
A src/common/log/BrokerLogger.class.php +69 −0 Go to diff View file
A src/common/log/TruncateLevelLogger.class.php +86 −0 Go to diff View file
A src/common/log/WrapperLogger.class.php +66 −0 Go to diff View file
A tests/simpletest/common/log/TruncateLevelLoggerTest.php +85 −0 Go to diff View file
A tests/simpletest/common/log/WrapperLoggerTest.php +110 −0 Go to diff View file