I have a very complex set of MSBuild projects. Often, one .proj will invoke the <MSBuild> task to build another project file.
When reading the console log, it's hard to see which invocation of MSBuild I'm looking at.
Is there a way to make the log either:
Indent the output from sub-invocations of MSBuild, or
Put each MSBuild log in ...
Imagine you have a site API that accepts data in the form of GET requests with parameters, or as POST requests (say, with standard url-encoded, &-separated POST data). If you want to log and analyze API calls, the GET requests will be easy, because they will be in the apache log. Is there a simple way to get the POST data in the apache...
I'm writing some logging/auditing code that will be running in production (not just when errors are thrown or while developing). After reading Coding Horror's experiences with dead-locking and logging, I decided I should seek advice. (Jeff's solution of "not logging" won't work for me, this is legally mandated security auditing)
Is the...
I need to display a formatted log in Delphi 2009. The formatting does not have to implement all the features of say html, but a small subset e.g. colour, font style etc.
Currently I am using a TRichEdit and my own proprietry tags e.g. this is blue. It is pretty convoluted to get this to work with a TRichEdit as there is no direct access...
I'm using the Logging Application Block (LAB) in my ASP.NET application along with the Exception Handling Application Block to log any unhandled exceptions. I'm utilizing the Application_Error method in Global.asax to catch these errors. I'm writing to a Rolling Flat File. This all works just fine.
I'd also like to log debug messages us...
I would like to limit the size of the stack traces I am seeing in Rails. I'm not really interested in debugging the Rails stack as much as my own application. Is there any built-in way to have Rails do this dynamically?
...
Hello,
We are starting a new ASP.NET 3.5 MVC application (with Entity Framework, etc). The application will handle exceptions at method level and log them. Unhandled and Runtime exceptions should also be logged.
The logging module/framework should log BOTH application error/debug/info messages and unhandled exceptions.
Options:
EL 4....
What are some of the techniques / tools you use to analyze your application server logs?
My dev environment is Windows and my logs are on prod unix boxes .Some times I need to go thru archived logs(atleast on 4 servers) from many months ago to figure out a root cause of a error or exception. It is kind of a time consuming process and I ...
In log4j, is there a way to have logger.error("") and logger.debug("") include different output layouts?
I'd like errors to include method names and line numbers, both of which slow down application performance.
EDIT:
After adding apache-log4j-extras, the following config file works.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE...
I want to implement logging with EntLib Logging and hook up two TraceListeners for category "Debugging". One will write those messages to file and other will output them to system trace output the same way Debug.Write does (so that I could monitor them with Sysinternals DbgView), but I can't find how to setup this second listener with fo...
I'm developing a sort of web application and recently come a need to log some of user activities in it. Therefore come with natural question is it a good idea to use Apache server logging mechanism for that? If the answer is yes, please explain why and so if not. Mine main concern is reduction in performance as a result of enabling loggi...
Hi
I'm looking for a way to collect a set of data, that will only be used for debugging, the data should only be logged if I log an exception. AFAIK it can happend when ILog.Error, Fatal or Debug with an exception argument when logging other data with an exception, the data shouldn't be logged.
I plan to use the GlobalContext or Thread...
So I am running a program currently and it outputs an html file to a static location/name and i want to keep all of them, a log pretty much.
How would i go about changing the name of that file to something different, and unique, and possibly change the location of that to a log folder via command line. I was thinking of adding a times...
What's the best way to log all of the exceptions in a pyqt4 application using the standard python logging api?
I've tried wrapping exec_() in a try, except block, and logging the exceptions from that, but it only logs exceptions from the initialization of the app.
As a temporary solution, I wrapped the most important methods in try, ex...
I am running some JUnit tests in Eclipse, and my code is generating an XML log file using the java logging APIs. (java.util.logging). Is there an easy way to view this XML log output in Eclipse, other than reading the raw XML? Specifically I want to be able to easily see what threads different log messages have come from.
...
I have read questions/559482/why-doesnt-an-iphone-apps-main-function-ever-get-a-chance-to-finish, which explains why NSApplicationMain never actually returns. The same thing happens (for the same reason) in a desktop cocoa application, which is what I am working on.
With that in mind, how would I go about using NSLog to output some fina...
I have an old classic ASP site I'm maintaining and in the midst of converting to asp.net. I've one page that has external endpoints posting data to it and I'd like capture/monitor the posts that are being made to this page. Does anyone know of any tools which I can use to dump these posts either to a log file or database somewhere?
I gu...
Could you help me solve the following incompatibility issue between Python 2.5 and 2.6?
logger.conf:
[loggers]
keys=root,aLogger,bLogger
[handlers]
keys=consoleHandler
[formatters]
keys=
[logger_root]
level=NOTSET
handlers=consoleHandler
[logger_aLogger]
level=DEBUG
handlers=consoleHandler
propagate=0
qualname=a
[logger_bLogger]
l...
What is the best way to inspect the calls & responses from a web service in .NET?
I'm interacting with a Web Service written in Perl and running into issues.
How can I capture the text of the call and response?
UPDATE:
Based on comment to clarify:
I'd like to do it via .NET so I can log it or email it when an issue arises.
...
We'd like to keep records of all major events in our systems. For example, where the database might store the current user status, the event log should record all changes to that status along with when the changes occurred.
The event logging facility should be as close to zero overhead for the event thrower as possible, should accommoda...