You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
Currents logs are pushed to stdout by default. This clashes with the progressbar as well. Also, when logging to file we can add more info than just the bare minimum as the user does not see it.
TBD
Default log file location ($PWD/corso-<datetime>.log or $HOME/.corso/<datetime>.log or /var/log/corso/<datetime>.log)
Have to consider Windows default location
CLI flag to switch log file location (--log-file /tmp/corso.log)
Flag to switch logging to stdout (--log-file -)
The text was updated successfully, but these errors were encountered:
## Description
This changes the behavior of logs and writes it to disk instead of `stdout` by default. It also adds a new flag `--log-file` to specify the filename for the log file.
## Does this PR need a docs update or release note?
- [x] ✅ Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [ ] ⛔ No
## Type of change
<!--- Please check the type of change your PR introduces: --->
- [x] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Test
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup
## Issue(s)
<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* fixes#2076
## Test Plan
<!-- How will this be tested prior to merging.-->
- [x] 💪 Manual
- [ ] ⚡ Unit test
- [ ] 💚 E2E
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currents logs are pushed to stdout by default. This clashes with the progressbar as well. Also, when logging to file we can add more info than just the bare minimum as the user does not see it.
TBD
$PWD/corso-<datetime>.log
or$HOME/.corso/<datetime>.log
or/var/log/corso/<datetime>.log
)--log-file /tmp/corso.log
)--log-file -
)The text was updated successfully, but these errors were encountered: