I am receiving some mysterious errors in my apache error log.
For example:
File does not exist: /home/httpd/vhosts/studentlife.co.il/httpdocs/help_center/div.hot-jobs
File does not exist: /home/httpd/vhosts/studentlife.co.il/httpdocs/solutions/function.filesize
File does not exist: /home/httpd/vhosts/studentlife.co.il/httpdocs/work...
I am writing an error logging set of classes which will log to file, event log etc. What exception handling should be performed within these classes? For instance, say I have a LogError method, which is called from exception handlers, and writes to file. What is considered the best thing to do, should an error occur? Obviously, I should ...
I'm using a PyQt4 user interface. I've redirected stderr to a log file for easy debugging and trouble-shooting, but now I need to display error messages to the user when an error occurs.
My issue is that I need to catch an exception when it happens and let the user know that it happened, but still let the traceback propagate to stderr ...
What do you do if you're error logging code fails?
How do you make sure that its currently working?
How do you know if its not working?
How do you test that its working in a production environment?
Should I throw an exception if all else fails?
The code below uses Microsoft's Enterprise Library Logging Application Block. How do you m...
When running graphics based programs in Python for S60 (PyS60) the error messages and the output of the print statement (i.e. stdout) are hidden. If due to an error application stops working as expected its lost and tracking down the bug is very difficult, sometimes require running a "second stripped version" of the code.
This is obviou...
We use log4net for logging application exceptions for a variety of web applications. At present we use the RollingLogFileAppender with a threshold of Info and SmtpAppender with a threshold of Warn.
The problem is that we have no easy way of grouping error log entries by their contents. There are certain errors that we see frequently, an...
After reading the latest Coding Horror post I wondered if there was a Java-based version of ELMAH out there in the open source community? A configurable JSP/Servlet/Portlet WAR that I can just drop into most servers and have a nice GUI for viewing the logs in the system. Anyone have a project to recommend?
Duplicate of
http://...
Duplicate:
Automatic feedback on JavaScript error
Logging JavaScript-Errors on Server
How would I go about logging errors in javascript? I can't wrap every line of javascript in try catch block.
I talking about the errors that for example in IE, would show an Error On page message and have the line and char the caused th...
We'd like to just capture the YSOD output to use in an erorr reporting email, from a Global.asax error handler, for instance. Is there any way of leveraging the built-in ysod generator?
...
While my ASP.NET project uses version 3.5 of the framework, the event log registers errors as coming from version 2.X of the framework such as this:
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1334
Date: 2009-05-19
Time: 17:04:29
User: ...
As the author of a C# application, I found that troubleshooting issues reported by users would be much easier if I had access to the exception or debug logs.
I have included a home-grown logging mechanism that the user can turn on or off. I want the user to be able to submit the logs via the internet so I can review the logs for the er...
Is there an Elmah equivalent for PHP in general, Symfony in particular?
...
Does anybody have any advice on how to minimize my logs for a web application?
Right now, I'm logging every error. So if there is a situation where an error occurs on every request (a db connection problem for example), it might get logged for every user on every request. As you can imagine, it doesn't take too many users doing too ma...
I am pretty new to logging. I get this jibberish in my event log.
The description for Event ID ( 0 ) in Source ( xyAMP ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this descript...
Ok so I am trying to have error log file for the website running on ASP.net and C#.
I tried storing to drive with regular path.
Expecting it because it is in c# code (code behind page) it will pick up the server and store it there. (In the end it is a code that gets executed on server)
Unfortunatelly for me thats not true. It gets save...
On my application wide error handling I'm returning the host name to see what computer it happened on, application version, windows version, exception with all inner exceptions, and the stack trace.
What other information can you get while inside the MyApplication_UnhandledException method that would be useful for tracking down an error...
I know that in ASP.NET people typically put a protected method called "Application_Error" in their global.asax file inorder to handle say, logging of exceptions.
My question is, is this an ASP.NET only thing, or does it work equally well in ASP.NET MVC? Is it an ASP.NET MVC best practice or not?
...
Whenever a user reports an error such as 'System.Runtime.InteropServices.SEHException - External component has thrown an exception.' - is there anything that I as a programmer can do to determine the cause.
Scenario : One user (using a program my company wrote) has reported this error.
This may or may not have been a one off error. Th...
My application exits for no reason, most likely due to errors in the profiler I used because it interferes with all the CLR runtime stuff. The issue is is there any file at any location where .Net framework logs these kind of errors?
...
SQL Server 2008 has a new try/catch structure. If I encounter an error in a sequence of nested stored procedures, I like to log the call stack in an error table. The problem is that if I have started a transaction (which will be true for operations that update the db), an records written to the error table will be removed when the code...