Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7174

command-line scripts should output to the console

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 14.0.1
    • Component/s: Logging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      Since we reworked logging, all of our command-line scripts that use the logging APIs attempt to write to, eg, $OPENNMS_HOME/logs/uncategorized.log, which is often owned by root and thus unwriteable.

      The scripts should be configured to use log4j2-tools.xml, which configures log4j to write to the console.

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              ranger Benjamin Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: