New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I enable debug logging in Piwik Tracker? #8593
Comments
Targetting for 2.15.0 as IMO we need good logging capabilities in Tracker in LTS. |
Looks up to date
I do not really understand what is meant by all tracker requests. Once tracker debug is enabled the requests will be logged as described on that page |
In http://developer.piwik.org/api-reference/tracking-api#debugging-the-tracker there should be a note about the |
Not sure if we should actually mention |
Notification sounds good. The option is very useful in some situations, eg, when troubleshooting production instances or apps that use the tracker API (eg, the log importer). Perhaps a IP whitelist or host whitelist can be used as well to make sure no one else sees the debug output. We should also perhaps not log token auths (or at least whole ones) in tracker debug output. |
Added |
Very nice & useful! |
Creating useful log files is a key part of building a useful, scalable and easy to manage software product. At Piwik recently we improved our logging backend, re-using monolog, and we've improve logging messages regularly in last releases.
To enable logging we point users to this FAQ: I’m a developer, how do I enable logging (and / or SQL profiling) in Piwik?. Currently, it is possible to debug the tracker by outputting results to the HTTP output (see this help).
The goal of this issue is to also provide a way for users to enable logging during Piwik Tracker (piwik.php API endpoint).
Steps:
printDebug
function to reuse the monolog logger: https://github.com/piwik/piwik/blob/master/core/Common.php#L1260-1266Thoughts?
The text was updated successfully, but these errors were encountered: