David Neuman created TC-499:
-------------------------------

             Summary: Traffic Portal logging should be consistent with other TC 
applications
                 Key: TC-499
                 URL: https://issues.apache.org/jira/browse/TC-499
             Project: Traffic Control
          Issue Type: Bug
          Components: Traffic Portal
            Reporter: David Neuman


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): 


{quote}
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
{quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to