logging

Simultaneously monitoring multiple log files (over ssh) on Windows ?

hi there, I've used poderosa(a .NET terminal app) to monitor logs on multiple linux/solaris servers. This application is NOT getting currently maintained and I've had several problems with it. I'm wondering what other users do to simultaneously monitor several logs in real-time(as in tail -f logfile). I would like to be able to tab/cas...

Writing to the windows logs in Python

Is it possible to write to the windows logs in python? ...

How can we print line numbers to the log in java

How to print line numbers to the log. Say when outputting some information to the log, I also want to print the line number where that output is in the source code. As we can see in the stack trace, it displays the line number where the exception has occurred. Stack trace is available on the exception object. Other alternative could be ...

Using Powershell to access IIS logs?

I know you can use powershell to make things like the registry a drive letter. There are other objects in powershell to treat other objects in this way. Does anyone know of any cmd-lets to access IIS logs in this manner? ...

log4net vs Enterprise Library, which is better? faster?

Anyone know of some performance comparisons of the latest version Enterprise Library and the latest version of log4net? Any technical reason why I should choose one over the other? ...

Preferred way to do logging in the SpringFrame work

I have done some searches looking for information about how to do logging with the Spring Framework. We currently have an application that has no logging in it except for system.out statements (very bad way). What I would like to do, is add logging, but also want to be able to control the logging at run time, with say JMX. We are usin...

Logging in J2ME

Hi, What logging solutions exist for j2me? I'm specifically interested in easily excluding logging for "release" version, to have a smaller package & memory footprint. ...

Rails Caching Log Level

With the new caching options in Rails 2.1 i get nice entires in my log along the lines of Cached fragment hit: views/homepage (0.16549) However they are logged at the :debug level, which is the same level as the SQL output. I want to be able to disable the SQL output, and still see the cache info. How can I do this ...

Does anyone know of any cross platform GUI log viewers for Ruby On Rails?

I'm tired of using: tail -f development.log To keep track of my rails logs. Instead I would like something that displays the info in a grid and allows my to sort, filter and look at stack traces per log message. Does anyone know of a GUI tool for displaying rails logs. Ideally I would like a standalone app (not something in Netbeans...

What is your .NET logging framework of choice?

There are many Logging frameworks for .NET, from simple Debug.WriteLine and Trace to Log4Net, Logging application block, NLOg and others. Which one do you use or recommend, and why? Also, which one would you recommend to NOT use, and why? ...

How do I use a stored procedure in log4net ADONetAppender?

Hello, I am using the ADONetAppender to (try) to log data via a stored procedure (so that I may inject logic into the logging routine). My configuration settings are listed below. Can anybody tell what I'm doing wrong? Thanks! <appender name="ADONetAppender_SqlServer" type="log4net.Appender.ADONetAppender"> <bufferSize value="1" ...

Good idea to access session in observer or not?

I want to log user's actions in my Ruby on Rails application. So far, I have a model observer that inserts logs to the database after updates and creates. In order to store which user performed the action that was logged, I require access to the session but that is problematic. Firstly, it breaks the MVC model. Secondly, techniques ran...

How do I use a common log4net reference in assemblies loaded at runtime?

I have a single-threaded application that loads several assemblies at runtime using the following: objDLL = Assembly.LoadFrom(strDLLs[i]); I would like the assemblies loaded in this manner to use the same log4net.ILog reference as the rest of the assemblies do. But it appears the runtime loaded assemblies have a different reference al...

How to configure Tomcat JULI logging to roll log files?

I have a several webapps which use java.util.logging. Tomcat 5.5 is configured to use the Juli logger so that each webapp has its own log file. The problem is that Juli does not have properties for maximum file size and file count. Using Juli the files will grow unbounded and only roll at the end of the day. Also, an unlimited number...

What logging tool do you use?

I've recently been introduced to log4net for use with a .NET app; I've never used a third-party tool for logging before. What other logging tools do you use for which language and why? ...

Colored grep?

Sometimes coloring a logfile or other gives a good overview when looking for stuff and behaviors I just saw that grep have a coloring feature grep -C 99999 --color <regexp> <filename> What other methods are there? ...

tool for reading glassfish logs?

Hey guys. I'm dealing with huge glassfish log files (in windows, eek!) and well ... Wordpad isn't cutting it. Are there any tools out there that can handle these log files in a more intelligent manner? Functionality that would be welcome: View all lines of a certain log level (info, warning, severe) Show logs between two timestamps ...

.Net Web Service Logging

My ideal situation for logging in our web service would be to log all the method calls (authentication as well as data access) with the parameters passed to them as well as errors that may have occured, and have them linked with a single ID that associates them with the same call. In addition, I'd ideally like to be able to control whet...

Best place for log files in an in-house IT environment

All of my users are a short walk down the hall, and all of my programs run on workstations on the same LAN. Some years ago, I had the staff write the log files for all of their programs to a shared folder hierarchy, naming each log file after the machine name in a sub-directory named after the app. But this arrangement wasn't that great...

What is the point of using a Logging framework?

I think I might be missing the point of having a logging framework for your application. In all the small apps I've always written a small "Logging" class and just pass log messages to a method in it which is written to a file. What is the purpose of a 3rd party logging framework like log4net? Is it thread safety with logging write ...