logging

Open Source Syslog Daemon for Windows

Can anyone recommend an open source Syslog Daemon for Windows (specifically Windows 2008 64bit). Thanks ...

Double-logging in Hibernate

I have been using Hibernate very successfully, but today I noticed a bizarre phenomenon to do with logging. If I turn on logging (at a "debug" level) for the classes underneath org.hibernate (for instance org.hibernate.SQL or org.hibernate.impl.SessionImpl), I get twice each log line corresponding to those classes. I never see that wit...

Recommendations of a high volume log event viewer in a Java enviroment

I am in a situation where I would like to accept a LOT of log events controlled by me - notably the logging agent I am preparing for slf4j - and then analyze them interactively. I am not as such interested in a facility that presents formatted log files, but one that can accept log events as objects and allow me to sort and display on e...

Configuring Hibernate logging using Log4j XML config file?

I haven't been able to find any documentation on how to configure Hibernate's logging using the XML style configuration file for Log4j. Is this even possible or do I have use a properties style configuration file to control Hibernate's logging? If anyone has any information or links to documentation it would appreciated. EDIT: Just to...

Writing XML with VB 6.0

I need to write an error log to a XML file using Visual Basic 6.0. Is there an easy way to do this? The error log will contain the error number, source, desc, and a timestamp. Thanks, Jeff ...

log4net strategy on named loggers?

I typically declare the following in every class: private static readonly log4net.ILog log = log4net.LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); and use the static member within each class to log at different levels (info, debug, etc.) I saw that somewhere and have been using it s...

What is the most efficient thread-safe C++ logger?

I am working on a performance critical multi-threaded application. I looked at rlog, Ace and Boost logging. I chose rlog because I read it was the fastest (when logging is disabled, it has the least overhead). The problem I have is it shows the file name, line number etc. even in release mode. If you can tell me how to shut that informa...

Cons for defining logger non-static

Comments for this answer http://stackoverflow.com/questions/212697/how-do-you-reduce-java-logging-boilerplate-code#212753 strongly suggest not to use loggers as instance member variables. I can think of two negative side-effects: 1) superclass logs with the subclass's logger 2) object cannot be serialized (unless marked transient) But...

How can I rotate log files monthly using Perl?

In Unix, I need to be able to archive log files into monthly folders, labelled accordingly. How do I do this in Perl? ...

log4Net config in external file does not work

We are using log4net and want to specify it's configuration in an external config file (as we have done with other sections). To do this we have changed the log4net section in the App.config to: ... <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> ... <log4net configSource="Log.config" /...

Is there a log4j equivalent for VBScript?

I need to instrument a series of .wsf and .vbs files with debug statements; before I go off and roll my own, does something like log4j exist for WSF/VBScript? ...

Good logging library for managed/unmanaged application ?

What logging library or approach would you recommend for this case: We want to be able to log both from managed and unmanaged code For the unmanaged code, the implementation should not cross back into managed code, because this could cause our unmanaged threads to get 'caught' during a garbage collection. Performance is a concern NLo...

Strategies for logging to application logs from library code?

Where I work we use Log4j for web application logging. The log4j.jar is at the application level, not the container level. We're using a daily rolling file appender. Our log4j.properties files define appenders based on the app package name, so only classes in our application's package and below get logged to our app's log file. In ...

Pointcut not working with Spring AOP

In order to implement Logging using Spring AOP I followed these simple steps. But it seems like its not working. Any help would be useful 1) Created MyLoggingAspect class import org.aspectj.lang.ProceedingJoinPoint; public class MyLoggingAspect { public MyLoggingAspect() { super(); System.out.println("Instantiated M...

Logging using SL4J, Jakarta Commons logging, log4j for third party libraries and my own code

I have some questions about logging, more specifically about setting it up and making sure it works. The project I'm doing will use Wicket, Spring and Hibernate. I know that Wicket and Hibernate uses Simple Logging Facade for Java (SL4J) and that Spring is using the logging component from Apache Commons. Will they co-exist happily? I t...

Rails logger format string configuration

How can I configure the rails logger to output its log strings in another format? I would like to get something that is more informative like: [Log Level] [Time] [Message] Debug : 01-20-2008 13:11:03.00 : Method Called This would really help me when I want to tail my development.log for messages that only come from a certain log level...

How to resolve specific circular dependency: DAL & Logging

Some "high risk" data operations need to be logged. In this case, the "high risk" operations are defined as writes to our ERP system. It happens that we are logging those events to our SQL Server database. Pseudo-code: Public Class MyCompany.DAL.ERP { Public void WriteToERP(string msg) { // ... do the write MyCompany.Loggin...

Logging xm console output in xen?

Is there a way I can log the output of xm console in to some file? Can I set something in the domain configuration file which automatically does this for me when I issue xm create? I tried: xm console | tee domU-console.log ... , but that does not fit in my case. I want to log the output asynchronously in background. ...

Login to windows xp programatically

Anyone heard that its possible to login to windows xp programatically, I want to modify the way the Domain Controller authenticates the user and if the user authenticated in my special way it returns the user name and password to the service working on the client machine so it should login the user using its passed credentials from the D...

Best XML format for log events in terms of tool support for data mining and visualization?

We want to be able to create log files from our Java application which is suited for later processing by tools to help investigate bugs and gather performance statistics. Currently we use the traditional "log stuff which may or may not be flattened into text form and appended to a log file", but this works the best for small amounts o...