-
Notifications
You must be signed in to change notification settings - Fork 148
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
Log executed commands #691
Comments
If a git command fails, SourceGit shows the output of it (except progress lines) as error message. I'll consider how to handle and show logs of custom action. |
对于初学者可以学习,点击之后的命令。个人认为非常有用 |
This is true, but sometimes there is no error, but git fails in some way, like it was in #449, I believe logging will help to debug I think simple file-based logging is enough, if you write them to
I'm not sure if this will be usable for newbies as some of the commands executed are very long and verbose. To make it really useful, something like "Git Console" needs to be added to show only "useful" commands. In my opinion, not some git command log with no descriptions, but the progit book (or any other of your choice) is a better study material 😁 |
One of the questions I considered was when to delete the log files. After a period of accumulation, the log files may take up a lot of space. And this is hard for most users to notice. The problem with #449 will not actually be solved by adding the log. The key reason of it is that the output of For custom actions, |
With serilog you can specify
stdout log would be useful anyway |
Logging can also be beneficial for stuff like in #725, e.g. you can log response body on error |
I would like to see logging feature, especially logging of custom actions; there's no way to debug and see the output of the command
Git command logging should also be useful and may help with bug reports
For starters, a simple log to file will work (Serilog or NLog), but an in-app log viewer could be added later
The text was updated successfully, but these errors were encountered: