WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#4085 closed enhancement (wontfix)

wp needs logging of all key actions to a text file

Reported by: 2stepsback Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: log logging debug debugging
Focuses: Cc:

Description

so that whenever something does not work properly, the text log can be referred to and the error either becomes obvious or at least is located as being around a certain part of code.
Who can do this:
+ someone who knows every function in WP
+ someone who's done coding with Exceptions, Stack traces and call stack handling in any other language
refer to http://wordpress.pastebin.ca/424971 for log of chat at IRC

Change History (5)

comment:1 foolswisdom7 years ago

  • Milestone set to 2.4

2stepsback is this something that you are working on? Otherwise, I don't think the existence of this bug will help get it done, so I will close it for now.

comment:2 rob1n7 years ago

I don't think this is feasible, without adding a *lot* of cruft/crap to the code... Do you have some examples of what you want accomplished?

comment:3 mwdmeyer7 years ago

I wrote a plugin that can log php errors to the database. It may not do everything you want.

BTEV Plugin

You need to (in the plugin):
Enable PHP error reporting
Enable Logging of all errors to the database.

comment:4 DD326 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

I'm going to close the ticket as it seems BTEV has filled part of the gap, and it wouldnt be possible without adding a lot of extra debugging functions.

PHP extension Debuggers/tracers can be used by more experienced users if a full backtrace is ever needed.

comment:5 DD326 years ago

  • Milestone 2.4 deleted
Note: See TracTickets for help on using tickets.