mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #62676
[Bug 1927022] Re: Improve debug reporting
We'd need to discuss the implications for security when that information
is then available in a production site on screen and also the database.
** Changed in: mahara
Status: New => Triaged
** Changed in: mahara
Importance: Undecided => Wishlist
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1927022
Title:
Improve debug reporting
Status in Mahara:
Triaged
Bug description:
I recently had a client project where I had to use log_debug() a lot
due to the development environment. I found that this was a less than
simple process.
I would propose these be written to the database and full featured
logging area be added to filter and view the logs.
This feature would be under the admin menu and access to the reporting
area would be restricted using the standard roles or to when the site
is not in production mode.
Features could include filters on data range, log type (debug, error,
notice, warn, etc), reporting library/module, user that triggered it,
etc.
Clicking through to an actual log message could intelligently present
the message in a useful manner. i.e., an array or object could be
presented with kint[1] or similar for easy navigation of large data
objects.
[1] https://kint-php.github.io/kint/
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1927022/+subscriptions
References