Page MenuHomeIn-Portal Phabricator
  • Changed Files
  • branches/5.2.x/core/kernel/utility/logger.php

INP-1654 Handle resource type in System Log
ClosedPublic

Authored by erik on Dec 22 2016, 4:34 AM.

Details

Summary

Made correct display of resource type parameters in the System Log

Test Plan

Used test code:

$f = fopen(FULL_PATH . '/system/config.php', 'r');
test($f);

function test($file)
{
	throw new RuntimeException('Test');
}

Test Plan

  1. Modify index php. Add test code after $application->Init();
  2. Open some front-end page
  3. Login to adm.console
  4. Go to Logs & ReportsSystem Log
  5. Double click on recent record, containing Test message
  6. Expand content of Backtrace field by clicking on the last Function link
  7. Confirm, that value of resource type parameter is displayed correctly, like Resource id #n, where n is some integer value

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

erik updated this revision to Diff 662.Dec 22 2016, 4:34 AM
erik retitled this revision from to INP-1654 Handle resource type in System Log.
erik updated this object.
erik edited the test plan for this revision. (Show Details)
erik added a reviewer: alex.
erik added 1 JIRA issue(s): INP-1654.
erik edited the test plan for this revision. (Show Details)Dec 22 2016, 4:35 AM
alex accepted this revision.Jan 23 2019, 6:16 AM
This revision is now accepted and ready to land.Jan 23 2019, 6:16 AM
This revision was automatically updated to reflect the committed changes.