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

Remove the logging directories from the DEB package

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 14.0.1
    • Fix Version/s: 16.0.0, Meridian-2015.1.1
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Vagrant which installs stable from default repositories on CentOS 7.0 and Ubuntu 14.04
    • Sprint:
      Horizon 16 Bugfixes

      Description

      Since OpenNMS 14 the logging behavior is different. The following plain install on CentOS 7.0 create the following log files:

      Daemons started:

      [root@localhost logs]# opennms -v status
      OpenNMS.Eventd         : running
      OpenNMS.Trapd          : running
      OpenNMS.Queued         : running
      OpenNMS.Actiond        : running
      OpenNMS.Notifd         : running
      OpenNMS.Scriptd        : running
      OpenNMS.Rtcd           : running
      OpenNMS.Pollerd        : running
      OpenNMS.PollerBackEnd  : running
      OpenNMS.EnhancedLinkd  : running
      OpenNMS.Ticketer       : running
      OpenNMS.Collectd       : running
      OpenNMS.Discovery      : running
      OpenNMS.Vacuumd        : running
      OpenNMS.EventTranslator: running
      OpenNMS.PassiveStatusd : running
      OpenNMS.Statsd         : running
      OpenNMS.Provisiond     : running
      OpenNMS.Reportd        : running
      OpenNMS.Alarmd         : running
      OpenNMS.Ackd           : running
      OpenNMS.JettyServer    : running
      opennms is running
      

      Generated log files on CentOS 7:

      eventd.log
      136090318   8 -rw-rw-r--. 1 root root   6714 Nov 20 18:46 instrumentation.log
      136090314 104 -rw-rw-r--. 1 root root 106416 Nov 20 18:47 manager.log
      138955867   4 -rw-rw-r--. 1 root root      5 Nov 20 18:45 opennms.pid
      138955866  16 -rw-rw-r--. 1 root root  13082 Nov 20 18:47 output.log
      138791815   4 -rwxr-xr-x. 1 root root     26 Nov 14 19:41 .readme
      136090320 132 -rw-rw-r--. 1 root root 132903 Nov 20 18:47 rtc.log
      136092259  56 -rw-rw-r--. 1 root root  54502 Nov 20 21:18 web.log
      

      Generated logiles on Ubuntu 14.04

      .
      ├── controller
      ├── daemon
      ├── eventd.log
      ├── instrumentation.log
      ├── manager.log
      ├── output.log
      ├── rtc.log
      ├── webapp
      └── web.log
      

      What happend with all the daemon logs?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                indigo Ronny Trommer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: