Age | Commit message (Collapse) | Author |
|
* Add log handlers syslog and errorlog
Issue#9400
* Add log handlers syslog and errorlog
* syslog/errorlog: fix namespace; add log.syslog.ident
* syslog/errorlog: Document options
* ErrorLogHandler constructor: Avoid null
Avoid null in ErrorLogHandler constructor call: Use level param; default others
* missing comma
* fix two di definitions
* Use Monolog constructor-default facility
Issue #17764
* #17855 SyslogHandler: Fix typo
* Update plugins/Monolog/config/config.php
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Co-authored-by: root <root@127.0.0.1>
|
|
* Run AllTests on PHP8
* use newer phpunit for tests on PHP8
* fix notices/errors
* handle trace of phpunit 9
* ensure to compare same types for range check
* adjust expected result for php8
* try handling hasDependencies does not exist in PHPUnit 9
* fix: ArgumentCountError: mysqli_stmt::bind_param() does not accept unknown named parameters
* Fix usercountry tests
* remove incorrect date check
* fix expected exception message
* fix referrers api test for php8
* add test hint
* try to fix session related tests
* debug test failure
* try to fix mail tests
* fix filterUser method
* exlucde phpunit from build size calculation
* fix scheduled reports test
* update release checklist test
* unset climode
* improves some tests
|
|
* impose limit on notification message size when logging to notifications
* if in memory notification count exceeds max notification size in session, do not attempt to new ones it to the session
* Detect when session was too large to read and provide warning to user.
* add some tests for Notification\ManagerTest.php
* add tests for relevant DbTable members
* Change session data column type to allow larger session data values.
* update to rc3
* trigger new build?
* fix namespace
* fix test namespaces
* bump version correctly
|
|
* Add log handlers syslog and errorlog
Issue#9400
* Add log handlers syslog and errorlog
* syslog/errorlog: fix namespace; add log.syslog.ident
* syslog/errorlog: Document options
* ErrorLogHandler constructor: Avoid null
Avoid null in ErrorLogHandler constructor call: Use level param; default others
* missing comma
* fix two di definitions
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
This reverts commit 288c07e4fc6487c88e41c054876f60badc1cde2c.
|
|
Issue#9400
|
|
or other information. (#17472)
* Add some context to this error since logs will not have the host or instance or other information.
* Move context addition to ExceptionToTextProcessor.
* fix some tests
|
|
* Allow forcing backtrace to print and do not print redundant message in exceptiontotextprocessor
* fix test
* consistent output when exception is an array
* fix tests
* fix another test
|
|
|
|
* require PIWIK_PRINT_ERROR_BACKTRACE for exception backtraces in logs
* consolidate uses of getTraceAsString to use single method where possible which always checks if should print stacktrace
* replace sensitive values and add some tests
* apply more review comments
* another tweak
* remove backtrace omitted error
* fix test
* fix test for travis
* fix test
|
|
|
|
* update doc blocks with new name
* submodule updates
* updates expected UI files
|
|
* Prevent possible notice and hiding actual error in debug trace
refs https://forum.matomo.org/t/empty-or-invalid-response-php-notice-undefined-index-class-when-archiving/36908/2
* Update plugins/Monolog/Formatter/LineMessageFormatter.php
Co-Authored-By: Stefan Giehl <stefan@matomo.org>
Co-authored-by: Stefan Giehl <stefan@matomo.org>
|
|
|
|
* Move Archive.php archive invalidation to Loader so we only invalidate when about to launch archiving.
* Attempt to handle more cases when invalidating before launching archiving.
* fix possible sql error
* fix possible error
* fixing some tests
* remove test code
* Only invalidate specific archive being requested.
* Do not invalidate on today in tracker and avoid existing valid archive check in CronArchive.
* more test fixes
* Attempt to fix more tests.
* Fixing last tests.
* another test fix
* Invalidate in scheduled task if browser triggered archiving is enabled.
* deal with TODO
* Get ArchiveSelectorTest to pass.
* applying review feedback including new tests
* apply review feedback & fix tests
* fix couple more tests
Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com>
|
|
* use latest phpunit/phpunit ~8.5
* submodule updates
* fixes
|
|
|
|
|
|
|
|
* test no longer relevant
* update submodule
* fix integration test
* Do not forward query params for Goals.getMetrics inner API call.
|
|
|
|
|
|
* Invert change comparison when displaying percents in the UI, and add extra _change_from metric to support API calculation of from change percent when there are more than two periods.
* Update bandwidth submodule
* update screenshots
* Update tests.
* Update screenshot.
|
|
records (#15105)
|
|
refs https://github.com/matomo-org/matomo/issues/15012
|
|
* Allow stack traces to be logged to file for PHP warnings
* Use debug_backtrace() to generate an abbreviated stack trace
* Change trace format, fix LogTest
* smaller trace by not including unimportant doc root
makes it also easier for users to share the trace since they don't need to remove any paths
* Update ErrorHandler.php
|
|
* Start refactoring Common::printDebug().
* Make tracker debug statement error log.
* Remove logger removal for tracker.
* Fix test failure.
* Add two more parent constructor calls.
* Fix failing test
|
|
reproduced. (#14753)
* Add some debugging info to log notifications so they can be more easily reproduced.
* Only put debugging info if piece of info is present.
|
|
|
|
I updated the link tag for all php files with the new matomo link.
Not sure if it is realistic that this will get merged but I though that someday someone has to do this(?)
|
|
* fix condition
* NullHandler must be end of writer array to allow other handlers to handle the message (since it seems to stop bubbling).
* Do not do php eol check during tests.
* Just in case.
* try to fix the build
* Add screenshot.
|
|
|
|
logs/archive api output (#13923)
* Add config to use FringersCrossedHandler (untested)
* Get to work in different contexts.
* Add changelog note.
* Make sure more exceptions make it to the logs, make backtrace include previous exceptions, do not use screen writer if in cli mode, always print backtrace if in CLI mode and archivephp triggered.
* Add log capturing handler.
* Remove options from global.ini.php sibnce they may be temporary.
* Add UI test triggering an error w/ the screen handler.
* Add some more log statements, ignore logs in screen writer, replace part of message in ExceptionToTextProcessor instead of whole message.
* Add missing license.
* Update changelog, move new item to 3.9
* Fixing some integration tests.
* Fix another unit test.
* One more test fix.
* Try to get rid of xss testing warning.
* Try again to get rid of warning.
* Try again to get rid of warning.
* Try again to get rid of warning.
|
|
* Set isHtmlMessage for more exceptions.
* Escaping file names.
|
|
* Add generated unique request ID used in logs as custom HTTP header.
* Fixing tests.
|
|
* Set different log levels per log writer if desired.
* small tweak
* tweak doc
|
|
* Add [tests] config option to enable logging in tests.
* Allow tests:run/tests:run-ui commands to enable logging for individual runs + during tests only log to file.
* Remove Fixture field
* fix failing test
* fixing build
* Fix another failure.
* Fix an other test.
|
|
|
|
* Initial code to gather performance measurements across processes.
* Get proof of concept to work.
* couple tweaks
* Modified to use a custom log file instead of option table.
* add peak memory value
|
|
* log requestId for cli commands
* format console log
* log pid for cli commands
* fix test
|
|
* Replace all occurences of Piwik in english translations of Actions plugin
* translation update
* Replace all occurences of Piwik in english translations of API plugin
* translation update
* Replace all occurences of Piwik in english translations of core
* replace Piwik occurrences
* Rename widget piwik.org blog => matomo.org blog
* fix widget name
* replaced some more piwik mentions
* Renamed to Matomo a few strings
* Replaced more strings to Matomo in JSON files, twig templates
* Replaced more strings to Matomo in INI file
* Replaced more strings to Matomo in API docs, error messages, feedback forms
* introduce API.getMatomoVersion and ExampleAPI.getMatomoVersion API + deprecate old ones
|
|
|
|
* write timezone (in our case: always "UTC") in log messages
* use 'T' instead of 'e' in LineMessageFormatter
|
|
(loadRealTranslations=1 is needed for archiving) so results are accurate. Also, do not use Fixture::getTestEnvironment() in fixtures, instead create new instances of TestingEnvironmentVariables so changes made to the file are not ignored/lost.
|
|
|
|
|
|
is used
|
|
|
|
|
|
|