• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • Casablanca Release
    • None
    • None
    • None

      Currently, we have those 4 loggers

      public static final Logger inlog = LoggerFactory.getLogger("org.onap.dcae.commonFunction.input");
      public static final Logger eplog = LoggerFactory.getLogger("org.onap.dcae.commonFunction.error");
      static final Logger oplog = LoggerFactory.getLogger("org.onap.dcae.commonFunction.output");
      static final Logger metriclog = LoggerFactory.getLogger("com.att.ecomp.metrics");

      and regular loggers within classes and a special VESLogger.
      Try to think about making it consistent / in a one place.

       
      I believe one logger logging to a single rolling file will be good as long as we use proper logging levels.
      We could also have multiple appenders if there is a need to e.g send it for syslog or somewhere else.
      More advanced alternative that can be thought about later is to log using json format, later store it in something like logstash so it can be easily visualized and processed to get some e.g health check metrics using something like Kibana maybe.

            pawelszalapski pawelszalapski
            pawelszalapski pawelszalapski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: