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
Keep previous log available #916
Comments
Comment 1 by geoff on 2010-09-18 22:05 |
Comment 2 by briang1 on 2010-09-19 07:11 For those who have seen some comments about getting a log out when nvda @echo off If you cut the above text from the @echo off to the exit and paste it into a I have no idea if this runs foul of any security systems in Vista or 7, but it works fine in xp. If you remove one of the > before the output file name in the type line, it will only save the previous log, not keep on appending them. |
Comment 3 by ragb on 2012-05-26 18:22 +1 for this feature. Sometimes NVDA crashes or restarts due to the watchdog and it is hard for us to replicate steps, or ask users to start nvda with a different path for the log file. I believe moving existing nvda.log to nvda.log.old when NVDA is initialized may help to solve most of users issues, since we can ask for the previous log file from the path. Showing the previous log on the interface is secundary, in my opinion. It is trivial to implement. Shall I do it? |
Comment 4 by briang1 on 2012-05-27 06:31 Would it add much time to start up, and of course one must be careful not to screw up the commands from the run box. |
Comment 5 by jteh (in reply to comment 3) on 2012-05-28 07:58
Agreed.
Yes please, with one change: name the file nvda-old.log instead of nvda.log.old, since I think the .log extension is opened in Notepad by default on most systems. Or maybe that was just a change I made on my own system? I can't remember... :( |
Comment 6 by ragb (in reply to comment 5) on 2012-05-28 09:37
I believe it opens by default (unless I also did the same change and don't recall :)). The change is the folowing:
Shall I commit it to main or releases/2012.2? |
Comment 7 by jteh on 2012-05-28 13:04 You can commit this to main. 2012.2 is now closed for anything other than major bugs or translation updates. Thanks! |
Comment 8 by elliott94 on 2012-05-28 21:06 |
Reported by geoff on 2010-09-18 22:04
It occurs to me that there are times when it's not possible to get to the NVDA log, due to some kind of crash. This requires the use of another screen reader to retrieve the log, as a restart of NVDA will remove the log in question and replace it with a new one.
I propose that, upon start-up, NVDA rename the current log to a backup name, removing the previous back-up if there is one, and provide some means for accessing this back-up in the log viewer, etc. This would remove the dependence on another screen reader in those situations where it's not possible to use NVDA to retrieve the log.
The text was updated successfully, but these errors were encountered: