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

command-line scripts should output to the console

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 14.0.0
    • 14.0.1
    • Logging
    • Security Level: Default (Default Security Scheme)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: