Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-31 | Fixes #7581 logger can now log int and bools | Matthieu Napoli | |
2015-03-26 | #7535 Log warning but do not throw if trying to log a non-string message | Matthieu Napoli | |
2015-01-12 | Simplified get from container with new shorter method | Matthieu Napoli | |
2014-12-17 | #6622 Logger refactoring: remove INI options: | Matthieu Napoli | |
- log_only_when_cli - log_only_when_debug_parameter | |||
2014-12-15 | Removed a now useless comment | Matthieu Napoli | |
2014-12-15 | #6622 Logger refactoring: deprecated Piwik\Log in favor of ↵ | Matthieu Napoli | |
Psr\Log\LoggerInterface | |||
2014-12-05 | #6622 Logger refactoring: using Monolog! | Matthieu Napoli | |
`Piwik\Log` is now a wrapper on top of Monolog. The real logger can now be injected using `Psr\Log\LoggerInterface`. | |||
2014-12-05 | #6622 Logger refactoring: removed manual overriding of the log level in CLI ↵ | Matthieu Napoli | |
since it's now dependent of the verbosity level `Piwik\Log::setLogLevel` is now deprecated and doesn't do anything. Its usages have been removed. | |||
2014-12-05 | #6622 Logger refactoring: log in CLI | Matthieu Napoli | |
- follows the verbosity level - formatted with colors | |||
2014-12-04 | #6622 Logger refactoring: removed the "Log.getAvailableWriters" event | Matthieu Napoli | |
Adding new log backends will later be possible by configuring Monolog handlers | |||
2014-12-04 | #6622 Logger refactoring: move to PSR-3 compatibility | Matthieu Napoli | |
- keep the log message as string - exceptions are logged in context under the "exception" key - Piwik\Error objects are replaced by \ErrorException (logged the PSR-3 way) | |||
2014-12-02 | #6622 Logger refactoring: turned Piwik's log writers into Monolog Handlers | Matthieu Napoli | |
2014-12-01 | #6622 Logger refactoring: added Log\Processor\ClassNameProcessor | Matthieu Napoli | |
2014-12-01 | #6622 Logger refactoring: use Monolog constants | Matthieu Napoli | |
2014-12-01 | #6622 Logger refactoring: use a "record" array similar to Monolog to ease ↵ | Matthieu Napoli | |
future transition | |||
2014-12-01 | #6622 Logger refactoring: removed now useless constants + updated phpdoc | Matthieu Napoli | |
2014-12-01 | #6622 Logger refactoring: simplified log formatters | Matthieu Napoli | |
2014-12-01 | #6622 Logger refactoring: formatting messages is now done through Formatters ↵ | Matthieu Napoli | |
instead of events | |||
2014-12-01 | #6622 Logger refactoring: quick code simplification | Matthieu Napoli | |
2014-12-01 | #6622 Logger refactoring: moved "log message processing" into "Processor" ↵ | Matthieu Napoli | |
objects (to prepare the transition to Monolog) | |||
2014-11-28 | #6622 Logger refactoring: moved log backends into a subnamespace for clarity | Matthieu Napoli | |
2014-11-28 | #6622 Logger refactoring: moved the log backend configuration (file, screen, ↵ | Matthieu Napoli | |
database) out of the logger and into the LoggerFactory | |||
2014-11-28 | Removed unused variable | Matthieu Napoli | |
2014-11-28 | #6622 Logger refactoring: moved the database writer to a dedicated class | Matthieu Napoli | |
2014-11-28 | #6622 Logger refactoring: moved the screen writer to a dedicated class | Matthieu Napoli | |
2014-11-28 | #6622 Logger refactoring: moved the file writer to a dedicated class | Matthieu Napoli | |
2014-11-28 | #6622 Logger refactoring: use the container to get the log level | Matthieu Napoli | |
2014-11-28 | Logger refactoring, 1st step: separate config from logic | Matthieu Napoli | |
2014-11-14 | Bugfix | Matthieu Napoli | |
2014-11-13 | Moved the `tmp/` path into the config (was hardcoded everywhere) | Matthieu Napoli | |
The `tmp/` path was hardcoded everywhere, which resulted in using `SettingsPiwik::rewriteTmpPathWithInstanceId()` to rewrite it for specific use cases. I've moved that path into the config, and replaced all hardcoded usage (and calls to `rewriteTmpPathWithInstanceId()`) by a `get()` from the container. Getting entries from the container is a bad practice and dependency injection should be preferred, but we do baby steps. When refactoring those classes to DI, we'll replace calls to the container with proper dependency injection. Another thing we'll need to do too is move the hardcoded *sub-path* of `tmp/` (e.g. `tmp/sessions/`) into the config also (but again: baby steps). Another future step would be to remove completely instance ID and let it be handled by a plugin (or by end-user config). Having the `tmp/` path in the config means that plugins or users can override it and know it will be taken into account everywhere in Piwik. | |||
2014-10-28 | Replace all uses of Piwik_ExitWithMessage (except one) with throwing ↵ | diosmosis | |
exceptions & include HtmlMessageException class for exceptions w/ HTML content in their message. | |||
2014-09-30 | coding style fixes, some PHPStorm inspection fixes, improved readability of ↵ | Thomas Steur | |
code, few refactorings, all as part of our code cleanup strategy | |||
2014-09-01 | Make sure log messages are trimmed correctly for clean log output. | diosmosis | |
2014-08-30 | Make sure arrays are formatted correctly in Log calls w/ sprintf params and ↵ | diosmosis | |
indent message newlines so they can be more easily parsed. | |||
2014-07-23 | reduced multiple empty lines to exactly one | Christian Raue | |
2014-07-23 | removed lots of trailing whitespace | Christian Raue | |
2014-07-18 | Refactor testing environment code to remove Log.php tests hack. | diosmosis | |
2014-07-12 | Merge remote-tracking branch 'origin/master' into ↵ | Thomas Steur | |
report_and_dimension_refactoring Conflicts: core/Updates/0.4.2.php core/Updates/0.6.3.php core/Updates/1.2-rc1.php core/Updates/1.9-b9.php core/Version.php tests/PHPUnit/Fixture.php tests/PHPUnit/Fixtures/UITestFixture.php tests/PHPUnit/Integration/Core/JsProxyTest.php | |||
2014-07-11 | Make sure logging doesn't fail during tests. | diosmosis | |
2014-07-11 | Ignore warnings for file_put_contents in Log when logging to file. | diosmosis | |
2014-07-07 | remove all logs again and disable location settings to see if this causes it | Thomas Steur | |
2014-07-07 | Merge branch 'master' into report_and_dimension_refactoring | Thomas Steur | |
Conflicts: core/FrontController.php core/Log.php plugins/API/API.php tests/PHPUnit/Fixture.php tests/PHPUnit/UI | |||
2014-07-07 | I would like to see why ipAnonymization is enabled locally but not on travis | Thomas Steur | |
2014-07-03 | debugging not passing ui tests the hard way, hopefully it actually logs to ↵ | Thomas Steur | |
the log file | |||
2014-07-01 | Add support for --force-date-range parameter + also enable Verbose logging ↵ | mattab | |
via -v refs https://github.com/piwik/piwik/pull/319 refs #5396 | |||
2014-06-10 | Piwik is a free/libre analytics platform. Refs #4455 GNU Package requirement ↵ | mattab | |
to use free/libre instead of open source | |||
2014-05-19 | Fixes #5181 Renamed method | mattab | |
2014-05-14 | Hide errors output in CI build. This could be fixed in much better with ↵ | mattab | |
Dependency injection refs #4917 | |||
2014-05-12 | Do not mention archive.php in the sourcecode, instead mention `./console ↵ | mattab | |
core:archive` command | |||
2014-05-08 | Refs #5111 Refactor Logger to write error messages to stderr, and to screen. | mattab | |