Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30265

Add a quiet option to nuxeoctl not to log to nuxeoctl.log

    XMLWordPrintable

    Details

    • Release Notes Summary:
      nuxeoctl has a quiet option not to print the launcher command to the logs.
    • Backlog priority:
      825
    • Sprint:
      nxplatform #32, nxplatform #33
    • Story Points:
      2

      Description

      Some confidential information may be logged to nuxeoctl.log, mainly when nuxeoctl is used to encrypt properties

      This request is to add a "quiet" option to nuxeoctl (and nuxeoctl.bat) not to "echo" the command to nuxeoctl

      echo "[`date`] Command: $0 $@" >> "$LOG_DIR"/nuxeoctl.log
      
      
        echo [`date`] "Launcher command: $JAVA  \"-Xbootclasspath/a:$JAVA_TOOLS\" $MODULE_OPTS $LAUNCHER_DEBUG \"-Dlauncher.java.opts=$JAVA_OPTS\" \"-Dnuxeo.home=$NUXEO_HOME\" \"-Dnuxeo.conf=$NUXEO_CONF\" \"-Dnuxeo.log.dir=$LOG_DIR\" -jar \"$TMPLAUNCHER\" $@" >> "$LOG_DIR"/nuxeoctl.log
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: