Skip to content

Commit

Permalink
Merge pull request #963 from Accenture/task/957-add-executed-command-…
Browse files Browse the repository at this point in the history
…including-all-parameters-to-log-files

task/957: add executed command including all parameters to log files
  • Loading branch information
JoernBerkefeld authored Jun 5, 2023
2 parents 75c57ba + 3467a92 commit 9ff3bc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,8 @@ function startLogger() {
};
Util.logger = Object.assign(myWinston, winstonExtension);

Util.logger.debug(`:: mcdev ${packageJsonMcdev.version} ::`);
const processArgv = process.argv.slice(2);
Util.logger.debug(`:: mcdev ${packageJsonMcdev.version} :: ⚡ mcdev ${processArgv.join(' ')}`);
}
startLogger();

Expand Down

0 comments on commit 9ff3bc3

Please sign in to comment.