?

Success

Pull Request for # 8094

User tests: Successful: Unsuccessful:

avatar digitalgarage
digitalgarage
19 Oct 2015

This prevents logging of messages where no category is specified as part of JLog::add.

Test Instructions

Add JLog::add("This shouldn't be here", JLog::INFO); to your template's index.php file.

Before this patched the logging statement This shouldn't be here will be included in the messages block. According to the docs this should ONLY be displayed when the jerror category is set. (https://docs.joomla.org/Using_JLog)

After this patch the message will not be displayed. Logging entries will only be logged when category is included. For example:

JLog::add("This should be here", JLog::INFO,"jerror");

if using the MessageQueue logger.

Eric.

avatar digitalgarage digitalgarage - open - 19 Oct 2015
avatar digitalgarage digitalgarage - change - 19 Oct 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Oct 2015
Labels Added: ?
avatar digitalgarage
digitalgarage - comment - 19 Oct 2015

Sorry folks forgot the issue reference. For history and discussion see: Issue #8094.

avatar zero-24 zero-24 - change - 19 Oct 2015
Category Libraries
avatar zero-24 zero-24 - change - 19 Oct 2015
Easy No Yes
avatar zero-24 zero-24 - change - 19 Oct 2015
Rel_Number 0 8094
Relation Type Pull Request for
avatar peterpeter peterpeter - test_item - 24 Oct 2015 - Tested successfully
avatar peterpeter
peterpeter - comment - 24 Oct 2015

I have tested this item :white_check_mark: successfully on fd3428f


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8112.

avatar designbengel designbengel - test_item - 24 Oct 2015 - Tested successfully
avatar designbengel
designbengel - comment - 24 Oct 2015

I have tested this item :white_check_mark: successfully on fd3428f


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8112.

avatar joomlamarco
joomlamarco - comment - 24 Oct 2015

Pizzaaaaaa :-) It works as expected


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8112.

avatar zero-24 zero-24 - change - 24 Oct 2015
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 24 Oct 2015

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8112.

avatar joomla-cms-bot joomla-cms-bot - change - 24 Oct 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 24 Oct 2015
Milestone Added:
avatar rdeutz rdeutz - change - 24 Oct 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-10-24 14:12:33
Closed_By rdeutz
avatar rdeutz rdeutz - close - 24 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - close - 24 Oct 2015
avatar rdeutz rdeutz - reference | 416bfd7 - 24 Oct 15
avatar rdeutz rdeutz - merge - 24 Oct 2015
avatar rdeutz rdeutz - close - 24 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - change - 24 Oct 2015
Labels Removed: ?
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone

Add a Comment

Login with GitHub to post a comment