-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF47, 11.x, 2021.3
-
Component/s: nuxeoctl start/stop/admin
-
Release Notes Summary:nuxeoctl has a quiet option not to print the launcher command to the logs.
-
Tags:
-
Backlog priority:825
-
Sprint:nxplatform #32, nxplatform #33
-
Story Points:2
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