Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/1281: add new global option --errorLog #1282

Merged

Conversation

JoernBerkefeld
Copy link
Contributor

@JoernBerkefeld JoernBerkefeld commented Apr 23, 2024

PR details

What changes did you make? (Give an overview)

Further details (optional)

...

Checklist

@JoernBerkefeld JoernBerkefeld added this to the 6.1.0 milestone Apr 23, 2024
@JoernBerkefeld JoernBerkefeld self-assigned this Apr 23, 2024
@github-actions github-actions bot added the chore Jira issue-type "Task" label Apr 23, 2024
Copy link

github-actions bot commented Apr 23, 2024

Coverage Report

Commit:c116a84
Base: develop@74e9e7c

Type Base This PR
Total Statements Coverage  65.5%  65.49%  (-0.01%)
Total Branches Coverage  66.27%  66.27%  (+0%)
Total Functions Coverage  75.37%  75.37%  (+0%)
Total Lines Coverage  65.5%  65.49%  (-0.01%)
Details (changed files):
File Statements Branches Functions Lines

@JoernBerkefeld JoernBerkefeld merged commit 66a2008 into develop Apr 23, 2024
6 checks passed
@JoernBerkefeld JoernBerkefeld deleted the task/1281-hide-errorlog-file-behind-new-option branch April 23, 2024 13:06
@JoernBerkefeld JoernBerkefeld linked an issue Apr 23, 2024 that may be closed by this pull request
@JoernBerkefeld
Copy link
Contributor Author

https://github.com/Accenture/sfmc-devtools/wiki/07.-Advanced-Configuration/_edit:

CLI Options

--api=[log|api]

Optionally, you can see API requests & responses in the logfile or directly in CLI.

Examples:

mcdev retrieve --api=log
mcdev deploy --api=cli

--noLogFile

Optionally, you can disable creating the 2 logfiles when running mcdev.

Examples:

mcdev retrieve --noLogFile
mcdev deploy --noLogFile

--noLogColors

Optionally, you can disable colors in CLI output. This is useful if you integrate mcdev into systems that cannot display color codes.

Examples:

mcdev retrieve --noLogColors
mcdev deploy --noLogColors

--errorLog

Optionally, mcdev can create a second log file ending on -error.log that only contains log entries of type "error" for quick parsing and potential visualization in a GUI. This file will not contain extended debug info but can make it easier to show errors to users when you don't want to parse the entire log file.

Note: This will not work in combination with --noLogFile

Examples:

mcdev retrieve --errorLog
mcdev deploy --errorLog

@JoernBerkefeld JoernBerkefeld mentioned this pull request Apr 23, 2024
10 tasks
@JoernBerkefeld JoernBerkefeld changed the title task/1281: add new global option --errorLog feature/1281: add new global option --errorLog Apr 23, 2024
@JoernBerkefeld JoernBerkefeld changed the title feature/1281: add new global option --errorLog Feature/1281: add new global option --errorLog Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Jira issue-type "Task" e/DevOps EPIC e/IDE EPIC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] hide -error.log file behind new option
1 participant