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

[CMX] add logging of main functions #1317

Closed
gfursin opened this issue Oct 13, 2024 · 1 comment
Closed

[CMX] add logging of main functions #1317

gfursin opened this issue Oct 13, 2024 · 1 comment
Assignees
Labels

Comments

@gfursin
Copy link
Contributor

gfursin commented Oct 13, 2024

Add -log and -logfile flags to CMX core.

@gfursin gfursin self-assigned this Oct 13, 2024
gfursin added a commit to flexaihq/ck that referenced this issue Oct 13, 2024
- print control flags in help (cmx -h | cmx -help): mlcommons#1318
- fail if control flag is not recognized: mlcommons#1315
gfursin added a commit to flexaihq/ck that referenced this issue Oct 13, 2024
   - added `utils.test_input` to test if input has keys
     and report them as error
   - added `prefix_cmx` key to cmr.yaml to customize `cmx pull repo`
   - improved CMX logging (-log and -logfile):
     mlcommons#1317
   - print control flags in help (cmx -h | cmx -help):
     mlcommons#1318
   - fail if control flag is not recognized:
     mlcommons#1315
   - added -repro flag to record various info to cmx-repro directory
     mlcommons#1319
   - print call stack when error > 32 to be able to trace error cause:
     mlcommons#1320
     can be combined with -log=debug and -logfile
@gfursin
Copy link
Contributor Author

gfursin commented Oct 13, 2024

Added in #1321

@gfursin gfursin closed this as completed Oct 13, 2024
gfursin added a commit that referenced this issue Oct 13, 2024
I added many important features to CMX pending for a very long:
- added `utils.test_input` to test if input has keys and report them as
error
   - added `prefix_cmx` key to cmr.yaml to customize `cmx pull repo`
- improved CMX logging (-log and -logfile):
#1317
- print control flags in help (cmx -h | cmx -help):
#1318
- fail if control flag is not recognized:
#1315
- added -repro flag to record various info to cmx-repro directory:
#1319
- print call stack when error > 32 to be able to trace error cause:
#1320
     can be combined with -log=debug and -logfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

1 participant