error-logging

Sending error logs through .NET desktop application

Lately our customers are experiencing unexpected crashes. We are already logging the errors on their local machines. Is there a mechanism to enable them to "send error log" somehow when the application crashes or when unexpected behavior takes place? In other word how do I know that the application freezed or hung or crashed so I can s...

Logging erros in SqlLite database from C# Windows Forms Application

I'm developing a win app in C# which communicates to a WCF Service. I want to log exceptions that are thrown on client to be logged in Sql Lite Database (Win app is using Sql Lite database for storing data locally). And then later it should be sent to the wcf service when required so that it can be useful for support/analysis/application...

Logging fatal/parse errors in PHP5

I'm writing an error logging service that will be integrated into websites running on my server, that will email me error batches, etc. So I've been trying to find out if there's a way to handle fatal and parse errors, however not using the tricks to handle it in PHP code (output buffer, shutdown function). I'm quite happy to write some...

where does a novice begin with error logging in asp.net c# ?

i'm a novice teaching myself asp.net in c# via trial and error learn by doing, unfortunately this means lots of errors! i have a custom errors page now that is basically a 404 so that site visitors don't get that ugly application error message .NET throws, but i WOULD like to be able to see what's going wrong myself as people use the si...

how to achieve functionality of #def of c in PHP

Well, I don't know if thats what I want. But here is my problem: In case of some error I am logging the FILE, CLASS, FUNCTION and LINE in a file. For that I am doing something like: myLog('['. __FILE__ . ']' . '[' . __CLASS__ . ']' . '[' . __FUNCTION__ . ']' . '[' . __LINE__ . ']'); The problem is everywhere I've to repeat that code...

Question about using ServiceModelEx's "WCFLogbook" from "Programming WCF Services" book

I am attempting to compile/run a sample WCF application from Juval Lowy's website (author of Programming WCF Services & founder of IDesign). Of course the example application utilizes Juval's ServiceModelEx library and logs faults/errors to a "WCFLogbook" database. Unfortunately, when the sample app faults, I get the following new error...

Error Logging in Rails

Hi, My team has recently switched to rails, and we're yet to implement an error logging solution for our project. I'd like something like Elmah - http://code.google.com/p/elmah/ - where the errors and details are logged and easily accessible. Are there any suggestions? Thanks! ...

Unable to make tomcat log basic 404 type error messages.

I need the log where tomcat puts 404 type errors. I am using: tomcat 6 on Centos 5.2 I have been getting 404 errors in applications deployed on tomcat. I was unable to find the logs where tomcat puts messages when it is unable to find requested files and other simple errors. - I am not talking about stuff logged by applications, just 40...

what kind of logging and reporting is google using ?

what kind of logging and reporting is google using ? Am just wondering what kind of logging google does for its heavily used applications. As we all know most of the google products are heavily used. Normally any product/tool will have logs, which have to be analysed and report has to be produced. Any guess what kind of tool or program...

Do you do client-side logging?

How do you capture errors that happen on client side when building RIA apps using Flex and Silverlight? What are the common practices? I have seen some asynch js calls to a web service implemented but would like to know how the community is dealing with it. ...

Show URL in Tomcat's Catalina error logs

I'm kind of new to the Java world, and I need to debug a restful Javax Web Service application. Some pages raise exceptions, and they are logged correctly, but I would like to have the URL of the page that called the code, inside of my logs, as well as the stacktrace. GET and POST information would be vital too. Is it possible? ...

Log Management Systems Dealing with Unknown Data?

We had an discussion with an analyst today about log management systems that deal with how unknown data sources. We just announced new technology that will allow to ingest, process and understand ANY type of data that can come to our log management system. (Full Disclosure: I work for LogLogic.) It was the conjecture of the analyst tha...

logging stack trace with logger

I am using Logging Application block with C#.Net 2.0. My code is logging the error information to a flat file. I have set all required configuration in web.config like listeners, formatters and categories, etc as described in msdn and it is working fine. But the problem is, I cannot put more than 50 characters in le.Message property. In ...

Log file reviewing tools

I find myself regularly looking at log files my code generates, can anyone suggest any good (free) utilities for reviewing large log files? I've been using notepad++ up to now but I was wondering if there are any better tools? ...

Threadsafe logging using streams

I have to implement a threadsafe logging mechanism in C++ under Windows and I want to use the streams library. I wanted to know if anyone could give me some advice regarding doing this and what would be the best way? The logging messages will most likely be a few lines long each time, so I'd probably need to write them to a buffer firs...

Logging libraries for Erlang/OTP

For logging activity of an Erlang/OTP application, do you simply use a wrapper over disk_log or some other libraries? ...

Send email when any error occurs in CakePHP

Hi, I am using CakePHP in PHP development. I have set my debug mode to 0 in core.php file. Configure::write('debug', 1); This setting will not show any error on site. So the user/developer will not be able to see errors. Thant's why I want to make something that will send me an email with error title and error code like Warning messa...

Elmah add message to error logged through call to Raise(e)

I'm a bit confused at how to add a message to an error logged programatically with ELMAH. eg: public ActionResult DoSomething(int id) { try { ... } catch (Exception e) { // I want to include the 'id' param value here, and maybe some // other stuff, but how? ErrorSignal.FromCurrentContext().Raise(e);...

How do I create new Log4Net logs pragmatically?

I need the ability to log to create new log files and specify the name of the file at runtime using log4net. I am currently using a RollingFileAppender and it logs everything to one file given the name specified in the app.config. How can I explicitly tell log4net to start a new log and to name it accordingly? My Current Config: <log...

C# Class Library: StreamWriter writing to system32 folder

I have a class library which is deployed on an ISP server to be consumed by an ASP.NET web service. I'd like to keep track of any errors and in this case the windows event log is inaccessible to me. So I thought I'd write to a txt file using the StreamWriter class. Problem is if I don't give an absolute path and just a file name it tries...