Windows vista system error log




















Original title: Events Log can someone explain what are the system Events log for and how does one correct the events that are occuring. This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread. I have the same question Report abuse. Details required :. Cancel Submit. What information appears in event logs Event Viewer? Event Viewer tracks information in several different logs. Windows Logs include: Application program events.

Forwarded events. These events are forwarded to this log by other computers. Click an event log in the left pane.

Where are the best locations to write an error log in Windows? Ask Question. Asked 13 years, 3 months ago. Active 11 years ago. Viewed 4k times. Improve this question.

Peter Mortensen Keith Sirmons Keith Sirmons 8, 15 15 gold badges 50 50 silver badges 75 75 bronze badges. Can you be more specific about the type of program or type of errors you intend to log. How important are the errors in terms of long term. It would be useful to know what technology you're developing with and what version of the OS you're targeting, too. Add a comment. Active Oldest Votes.

NET, you can find out this folder with this: Environment. GetFolderPath Environment. Improve this answer. John Saunders k 25 25 gold badges silver badges bronze badges. Lou Franco Lou Franco The app setting directory is a good location. Easily retrieved in. LocalUserAppDataPath, etc. The problem with using the app setting folder is that most of the time log files are opened manually in notepad for Explorer, which means that the user is going to have to go digging for it.

As a rule, I provide a mechanism via the UI to directly open the log file. And your software always works, so when are they going to need to look at the log, right? Joe Joe k 27 27 gold badges silver badges bronze badges. This isn't right for Vista -- better to use. NET Environment class, or something that wraps the right call in whatever language you are using — Lou Franco. Darren Kopp Darren Kopp Rob Rob Create a new "Event Source" text in one field in an existing log requires admin permissions, so I'd have to assume the creating a new Log an entirely new file would also require admin rights.

This was the "issue" I had before, Admin rights required for the web app to create the log in the Windows Event Log. If the logs are relatively unimportant long term, I would agree Temp is the right thing. David Robbins David Robbins 9, 7 7 gold badges 49 49 silver badges 81 81 bronze badges. ExplodingBoy ExplodingBoy 1. StingyJack StingyJack Application logs should not be placed in the application directory.

In a secure environment, non administrators will not have write access. I can't reiterate that strongly enough. However, there are many home users who wish to troubleshoot their system technical issues by own. But, they do not know how to open the Windows event log. Along with this, we have discussed how to troubleshoot the error using Windows log event viewer. Being a Chief Technical Analyst, I am aware of the technicalities faced by the user while working with multiple technologies.

So, through my blogs and articles, I love to help all the users who face various challenges while dealing with technology.



0コメント

  • 1000 / 1000