Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-499

Traffic Portal logging should be consistent with other TC applications

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.0
    • None
    • Traffic Portal
    • None

    Description

      Currently, Traffic Portal's logging is different from other TC components. It does not contain a log level or a timestamp. We should make the logging consistent with other TC components so that users can easily discern what is going on and when it happened.

      Example of the current logging (these messages were over several hours):

      Error: ENOENT: no such file or directory, open '/etc/pki/tls/private/ca.crt'
      at Error (native)
      at Object.fs.openSync (fs.js:641:18)
      at Object.fs.readFileSync (fs.js:509:33)
      at Object.<anonymous> (/opt/traffic_portal/server.js:148:29)
      at Module._compile (module.js:570:32)
      at Object.Module._extensions..js (module.js:579:10)
      at Module.load (module.js:487:32)
      at tryModuleLoad (module.js:446:12)
      at Function.Module._load (module.js:438:3)
      at Module.runMain (module.js:604:10)
      error: Forever detected script exited with code: 1
      error: Script restart attempt #116
      Traffic Portal Port : 80
      Traffic Portal SSL Port : 443
      error: Forever detected script was killed by signal: SIGKILL
      Traffic Portal Port : 80
      Traffic Portal SSL Port : 443
      error: Forever detected script was killed by signal: SIGKILL
      Traffic Portal Port : 80
      Traffic Portal SSL Port : 443

      Attachments

        Activity

          People

            Unassigned Unassigned
            neuman David Neuman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: