logging

Logging stack information

Hello all Do you know any tool that can log what functions where called with what parameters ? Not interested to write that code myself but thought that there maybe some tool that capable doing so ... Thanks. ...

C++ Logging Library recommendation

I'm looking to replace a homebrew "logging" library with something more powerful/portable. I've found John Torjo's "Boost Logging library", but it seems to have been rejected as part of Boost, which is a little disconcerting. What other options are available? ...

Change the Result Text in Ant

Ant finishes by printing: BUILD SUCCESSFUL Total time: x minute y seconds Is there an easy way to customize that text? Sometimes I'm not using Ant to build, but for other batch processes, and I'd like to avoid seeing BUILD SUCCESSFUL when no build was attempted. ...

Basic HTTP Parsing Using Twisted

Hey, I am a newcomer to the Python and Twisted game so excuse the ignorance I will likely be asking this question with. As a sort of first program, I am trying to write a basic HTTP server using twisted.web.sever which would simply print to screen the HTTP request, and then print to screen the HTTP response. I am trying to print the ent...

How can I get ant parallel to not multiplex/interleave my log entries?

When I run or in a tag ant multiplexes the logs mixing the output of each task together. I'd like something more easily read/grokked. I have tried the following approaches and they are better than nothing, but still not what I'm looking for. The following echos the non-interleaved log output at the end of the log, but it also ha...

using a database for logging

Is there a reason that most logs seem to be in plain text, as opposed to being put in a MySQL/other sort of database? It seems to me that putting them into a database would make analysis much, much easier…but would that come at the sacrifice of speed or something else? (I'm not that concerned with portability, and obviously you'd have ...

How do I configure java.util.logging within an Eclipse plug-in?

I am new to creating plug-ins, and there's much that I don't understand. One of these mysteries is logging. I have legacy code that I want to be able to use both within the plug-in and in the old standalone code. This code uses java.util.logging. I debug my plug-in by starting up a new workbench using a JVM option -Djava.util.loggi...

log4j or java.util's logger which is the best to use ..

log4j or java.util's logger which is the best to use .. already this question is thr but i did get clear idea.. can any one help me out ... ...

Effect of logging on Apache's performence

Hello everyone. I am developing an Apache module. During development I found it convenient to use logging functions at various points in my code. For example after opening a file, I would log an error if the operation was not successful so that I may know exactly where the problem occurred in my code. Now, I am about to deliver my modu...

Disable logging in Java at compile time

I have some Java code that I'd like to instrument with log messages for debugging purposes. The final (compiled) production code, however, should not contain any logging as it would slow down the execution time. Is there any way in Java to disable a logger at compile time? I am not afraid of the footprint a check inside the log method o...

How to programmatically modify My.Log settings configuration

Hello, we have several applications in Vb.Net using the built in log system (My.Log) to write log information. Until now this system was configured by the application.config file before execution but now we want to let the user to choose some options. Is there a way that does not requires to parse the XML file and process it? Is there ...

What is the best components stack for building distributed log aggregator (like Splunk)?

I'm trying to find the best components I could use to build something similar to Splunk in order to aggregate logs from a big number of servers in computing grid. Also it should be distributed because I have gigs of logs everyday and no single machine will be able to store logs. I'm particularly interested in something that will work wi...

Message Log Component in C#

What I want to have is a box that displays a list of messages in chronological order (most recent at the bottom) like is common in FTP apps and IDEs. Here's the FileZilla message log: At the moment, I'm getting similar functionality from a read only text box, but this isn't perfect. Bonus points for the following: Context menu has ...

Can I start logging application-initiated sql queries so I can learn what it's doing?

Hey, I'm learning an ecommerce package (Spree). The problem arises after I delete a product thru the GUI. I try to manually undo the delete by changing/adding rows back in, but I fail. My question is this: is there any way I can add application or dbms code/config/software to log transactions? Preferably, this will work with sqlite3,...

Google App Engine/Python - Change logging formatting

How can one change the formatting of output from the logging module in Google App Engine? I've tried, e.g.: log_format = "* %(asctime)s %(levelname)-8s %(message)s" date_format = "%a, %d %b %Y %H:%M:%S" console = logging.StreamHandler() fr = logging.Formatter(log_format) console.setFormatter(fr) logger = logging.getLogger...

Weblogic 10 JDK VS Log4j logging implementation

WebLogic 10 uses JDK logging implementation by default, but it can be changed to Log4j. Is there any real advantage of using Log4j implementation? Do you know of the pros/cons of each alternative? ...

Logging in multi-threaded application in java

What's the best way and best tool for logging in multi-threaded environment, so that each thread has it's own logger instance and separate file. is this even possible? ...

mysql slow query log

I am trying to write a script to parse the MySQL slow query log. I have seen 1 or 2 parser. does anyone know how to extract the information from that log? I mean does anyone know the structure of the file so I can work with that and if anyone know a good parser for this log file? thanks ...

Logging in Windsor

I'm trying to figure out how to setup logging in Castle Windsor. I cannot find anywhere how to do this. I have the following code for setting up logging: public class Installer : IWindsorInstaller { public void Install(IWindsorContainer container, IConfigurationStore store) { InstallLog(container); } private voi...

How to assign different Switches to different Listeners

Hello, I have an application which uses My.Application.Log to store information at different listeners (to a file, to a remote screen and to a database). I would like to know if it is possible to set a different recording level for each listener. Currently what I have is: <system.diagnostics> <sources> <!-- This section defines the l...