Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-487

ODL doesn't properly write log to karaf.log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Casablanca Release
    • Casablanca Release
    • sdnc-oam
    • OOM in OOM-Staging-Daily

      ODL doesn't write log to karaf.log properly after startup. All DG log is not written into karaf.log, which makes the debug very hard.

      There is a workaround provided by Alexis for the time being:

      Delete the follwoing lines in the statefulset definition by running command `kubectl edit statefulset onap-sdnc-sdnc`

      • mountPath: /opt/opendaylight/current/etc/org.ops4j.pax.logging.cfg
        name: sdnc-logging-cfg-config
        subPath: org.ops4j.pax.logging.cfg

      Then you need to kill the sdnc pod,
      `kubectl delete pod dev-sdnc-sdnc-0 -n onap`

            djtimoney Dan Timoney
            xuyang11 xuyang11
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: