Page MenuHomeIn-Portal Phabricator

INP-1923 - Display "Server Hostname" in the System Log
Needs ReviewPublic

Authored by alex on Mon, Sep 1, 7:05 AM.

Details

Reviewers
erik
Test Plan

Part 1

  1. perform clean install
  2. confirm, that SystemLog.LogServerHostname column exists
  3. perform upgrade
  4. confirm, that SystemLog.LogServerHostname column exists

Part 2

  1. in IDE: add some code, that triggers a notice to the \UsersEventHandler::SetCustomQuery method
  2. login to the Admin Console
  3. go to the User ManagementUsers section
  4. confirm, that notice(-s) happened
  5. go to the Logs & ReportsSystem Log section
  6. confirm, that:
    • system log records about above-happened notices are present
    • these system log records have Server Hostname column populated
  7. open any of the system log records with a non-empty Server Hostname column for viewing
  8. confirm, that Server Hostname field is also shown in the system log record viewing popup/modal window

Diff Detail

Repository
rINP In-Portal
Branch
branches/5.2.x
Lint
Lint ErrorsExcuse: Not fixing.
SeverityLocationCodeMessage
Errorcore/kernel/utility/logger.php:380PHPCS.E.Generic.PHP.SAPIUsage.FunctionFoundGeneric.PHP.SAPIUsage.FunctionFound
Errorcore/units/logs/system_logs/system_logs_config.php:145PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeywordCodingStandard.Arrays.Array.SpaceAfterKeyword
Errorcore/units/logs/system_logs/system_logs_config.php:145PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Errorcore/units/logs/system_logs/system_logs_config.php:146PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeywordCodingStandard.Arrays.Array.SpaceAfterKeyword
Errorcore/units/logs/system_logs/system_logs_config.php:146PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Errorcore/units/logs/system_logs/system_logs_config.php:147PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeywordCodingStandard.Arrays.Array.SpaceAfterKeyword
Errorcore/units/logs/system_logs/system_logs_config.php:147PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Errorcore/units/logs/system_logs/system_logs_config.php:218PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeywordCodingStandard.Arrays.Array.SpaceAfterKeyword
Errorcore/units/logs/system_logs/system_logs_config.php:218PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Errorcore/units/logs/system_logs/system_logs_config.php:219PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeywordCodingStandard.Arrays.Array.SpaceAfterKeyword
Errorcore/units/logs/system_logs/system_logs_config.php:219PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Errorcore/units/logs/system_logs/system_logs_config.php:220PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeywordCodingStandard.Arrays.Array.SpaceAfterKeyword
Errorcore/units/logs/system_logs/system_logs_config.php:220PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Unit
No Unit Test Coverage
Build Status
Buildable 11141
Build 3841: arc lint + arc unit

Event Timeline

alex created this revision.Mon, Sep 1, 7:05 AM
alex requested review of this revision.Mon, Sep 1, 7:05 AM