Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-605

Provide default Log4j initialization

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 0.6.0
    • Fix Version/s: None
    • Component/s: Core, Server
    • Labels:
      None

      Description

      Presently, as far as I can tell, a new user must duplicate the log4j.properties.template file into log4j.properties in the conf dir for Livy to run, otherwise it writes

       

      log4j:WARN No appenders could be found for logger (org.apache.livy.server.AccessManager).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      

      to the log file and nothing else.

      It would be better to bundle the server, or the livy core, with a default log4j file that is initialised if no other one is present, the same way Spark does. This would make setting up Livy for the first time that bit more frictionless.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              treuherz Eli Treuherz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: