logging

What is good/free software for monitoring IIS in Windows Vista?

I always forget to check what's going on in IIS on our webservers, and am wondering: is there some stupid applet or something that always runs locally that I can click on to check event logs and IIS logs on a remote machine? Mark ...

Logging the log messages from different packages into different files

Suppose I have these packages in my application - foo.bar and foo.foobar, And I want to send all log4j log messages that are coming from foo.bar package to foobar.log file and the log messages coming from foo.foobar to foofoobar.log file, how should I configure the log4j.xml file? ...

log4j configuration via JVM argument(s)?

What variables to I have to set/pass as arguments to the JVM to get log4j to run properly? And by properly I mean as in just not complain and print to the console. Can I see a typical example? Note: I need to avoid creating a lo4j.properties file in the application. ...

What to write into log file?

My question is simple: what to write into a log. Are there any conventions? What do I have to put in? Since my app has to be released, I'd like to have friendly logs, which could be read by most people without asking what it is. I already have some ideas, like a timestamp, a unique identifier for each function/method, etc.. I'd like to...

log4j - trigger log rolling when application starts

With log4j, I want the behaviour of the DailyRollingFileAppender so that date-pattern based log rolling can occur when an application starts up. BUT once the application has started, I don't want it to do any automatic log rotation until the next time the application restarts. How can I configure log4j to do this? ...

SharePoint 2007 Log Viewer

SharePoint 2007 (WSS or MOSS) logs are not easy to read even on a large screen, has anyone come across a log viewer that is able to: Display SharePoint logs live and historical Filter the events by various parameters Cope with SharePoint's log rotation A subset of the above features would be acceptable, as would a range of tools eith...

Conditional method calling conditional method not working in C#

I am trying to enhance my Logger class with some conditionals to control what to log and where to log. I've got two kinds of logging functions: public static class Logger { [Conditional("Logging"), Conditional("VerboseLogging")] public static void Log(string msg, string filename) { // log to file } [Conditio...

How to collect logs in jboss related to a single request?

Hi! I am developing a Java EE web application that is run under JBoss. I want to do the following: When a user sends an http request (by opening a page or through AJAX) all the logs that are related to this request are collected and then saved into the database. By related I mean that they are being logged during the process of handlin...

Robust Event Logging

This seems, to me, a slightly more specific question that those already asked, so: How reliable is the Windows Event Log service if I'm looking for a 'fire and forget' logging service, so that even an error in calling the service does not impact the caller, and is noted somewhere, somehow, by the OS? ...

Log4net/Logging - What have you found to be useful?

I just started using Log4Net and was looking to see what you have found to be useful in your logging experiences. What types of things have you found to be useful to log; what ended up being just noise; when do you use the different logging levels (DEBUG, INFO, etc); do you have a standard format for each log entry; are there things you...

Are there any C# open source log viewers?

I'm just implemented a proper logging system for media browser, there are so many logging frameworks to choose from, some are heavier, some are lighter but at the end of the day moving data from the application on to the disk is an easy problem. Are there any open source log viewers? I would much prefer one built using C# or VB.Net i...

Using VIM as a logfile-viewer

I'd like to use VIM as a logfile-viewer. Is it possible to reload the current file in a regular time interval (~1s)? ...

log4j with Tomcat6

I have a peculiar problem with Log4j. We are deploying on Weblogic 10 using log4j.xml. That works fine. We figured a way to run Tomcat 6 in such a way that we can develop on this platform and deploy on Weblogic 10. I have figured out how to make log4j.properies work with Tomcat 6 with additional JArs that use the JULI logging mechanism ...

How to setup a central logging server and divide logging events from test and production?

How best should I setup a central logging (or perhaps 2, each one exclusive to either test or prod) server such that: I do not have to worry about the code referencing any conditionals that might accidentally log non-prod errors into the production error log4j bus. In other words, I do not wants to have code such as: if (!production) ...

Single centralized or seperated log table for modules ?

Hi All I am designing intranet system for medium business. Should i keep single log table for all modules or make it separate ? Audit log keeps all admin/staff activities(create, update, delete objects) and the log structure is universal for any kind of module. And also is it good idea if i pull report based on log records ? My log tabl...

How do I save NAnt log output to a file?

In my build script how can I set a destination for NAnt's log messages? Idealy I'd like to just specify a file path. Then, on each build, NAnt would overwrite this file's contents with its message output. ...

Logging JPA SQL with Weblogic 10.3

By looking into the Open JPA website i've found that i can log the generated SQL by using the following: <property name="openjpa.Log" value="DefaultLevel=WARN, Runtime=INFO, Tool=INFO"/> If i try to add the above property to my persistence.xml i get the following warning from weblogic: <Warning> <J2EE> <BEA-160202> <You have specifie...

Best Squid Logfile Analysis Tool

I have recently been tasked with installing and configuring Squid Proxy server for filtering and monitoring our internal wireless network. I posted recently requesting guidance in selecting a Guidebook for this project and you guys did a grade job there. My next question is which Logfile Analysis tool does the stackoverflow community su...

How to automatically call a method in a static class on application start up and close down?

I'm writing a static class for logging to be used across my developed solution. There are several components that will use it such as a console application, ASP.NET application, etc... For the logging to work, it needs to do some initial startup configuration before it can be used, and also some clean up when each application has finish...

Using log4net and where to implement it and usign with elmah?

Hi there, does anyone have experience with log4net, i have been looking at elmah which is great. But i wanted a little bit more control i.e. to use logging not only in asp.net but also in wpf. Anway i decided to take a look at log4net. I have 2 clients, (wpf and asp.net) that both share business logic. Should i be raising events in ...