Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-36

SO Logging Issue - Info logging statements are logged/routed to error logs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None

      Issue Details:

      All logs are directed to the errormso.log instead of going to debugmso.log

      Logs with level Info are also logged/routed to error logs

      Fix Details:
      MSOLogger return error logger handler for any type of logging. Due to this all log entries go in "error.log" file. To address this issue we need changes in MSOLogger (which is a wrapper class around EELF).

      • Rename "this.logger" to "this.errorLogger" and use it only for error.
      • Introduce EELF instance of root/application logger EELFManager.getInstance() and route the info/metric logs through this instance only. This will ensure that our logs are printed in configured root logger.

       

            pranav2 pranav2
            akarande akarande
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: