Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1413

Wrong help indications of usable constants for the aurora-scheduler's -vlog argument

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.12.0
    • None
    • None
    • Ubuntu 14.04, OpenJDK8, Mesos 0.22.1. Running inside Docker container.

    Description

      The aurora-scheduler's help mentions that the available constants for the -vlog argument must be one of the constants in java.util.logging.Level. However, the actual available constants are the ones defined in com.twitter.common.logging.RootLogConfig.LogLevel.

      Thus, the following logging level constants:

      • ALL
      • OFF

      are only available in java.util.logging.Level and make the aurora-scheduler crash printing the help output if used with the -vlog option.

      Two possible fixes could be whether to implement the ALL/OFF constants level in com.twitter.common.logging.RootLogConfig.LogLevel and handle them via the -vlog argument or replace the mention java.util.logging.Level from the vlog's help with com.twitter.common.logging.RootLogConfig.LogLevel.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aseure Anthony Seure
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: