I use Catalyst (MVC framework for Perl), but the question probably apply to all MVC framework.
Until now, I used the Apache log files to get statistics about the visitors: user agent, URL accessed, time, etc. But now that I moved to an MVC framework, I don't think this is adequate. If a request to /1/foo and /1/bar are the same for me, ...
Hi,
Im wondering how you can capture the arguments of a WebService call dynamicly(for logging).
Is there any property that stores the Arguments of the call being made?
...
I saw the posting about the Best Tail Log Viewer, but it does not support filtering or sorting of custom column names. I've been testing out the Kiwi Syslogd, and you have to pay for the ability to sort and filter.
Does anyone know of a log viewing software tool that also supports filtering and sorting?
...
In the j2ee applications I plan on standardizing the exception handling strategy. No more swallowing exceptions and basically converting all checked exceptions into unchecked (except for some that actually can be recovered from. The standard will be that all Exception will be thrown back up to the container (eg: http://www.onjava.com/pub...
I need a tail utility that works under windows and can monitor file on a network share. The ones I tried worked fine locally but not over SMB.
...
We have only a very small number of customers (fewer than 50) and we would like each one to have its own separate log file into which all of its server side logging info goes. I know you could use NDC and filters to direct log statements to different files using the standard appenders in Log4j but that would require quite a bit more setu...
Problem:
I have a monitor program in Python that uses subprocess' Popen to start new processes. These processes have the potential to run for a very long time (weeks-months). I'm passing a file handle to stdout variable in Popen and I'm worried that this file will get huge easily. Is there a way I can safely move or remove the data i...
how do i change hibernate logging level programatically.
...
We are currently using SurfStats and I am trialling Sawmill at the moment as a possible replacement as it does not require the code injection that Google Analytics does.
Is there a better package available or is it better to inject your own code (website is ASP.Net - VS2003) and write your own analysis application? Has anyone had any ex...
Hi there,
DOes anyone have any good information with regards to when to log, I was thinking of logging an INFO type when i enter each c# method and recording another info when exiting..
Is this considered good or bad? Will i see a performance hit?
If i do record an INFO when i enter a method, the idea would be to record the method nam...
I have a classic 3-tier web application build with MySQL and Tomcat.
I want to save the creator id of each database record for all tables at creator_id column or just log it somewhere.
Current user is stored at the http session object.
Modify all queries and pass creator id parameter is unacceptable.
Can I solve the problem using trigg...
I am generating log records about user actions. For privacy reasons, these need to be anonymized after N days. However, I also need to run reports against this anonymized data.
I want all actions by real user A to be listed under fake user X in the anonymized logs - records of one user must still remain records of one (fake) user in the...
Hi,
I have a problem that I'd like to solve, but I don't know how to configure end-to-end logging in WCF (I'm not sure I can solve my problem even with end-to-end logging enabled). I have three applications (A, B, C) that use WCF service through NetMsmqBinding to communicate with each other. A is the host, and B and C are clients of the...
I currently have two class hierarchies: one for handling errors and another for logging them. I am wondering 1) whether it is advantageous to delegate error handling to a class separate from the error handler and 2) whether what I have is a good design.
Here is what I have:
class ErrorHandler {
public __construct(ErrorLogger $ErrorLo...
could you provide some samples for audit loggin using NHibernate (ASP.Net+C# codd, not java code)
...
I'm developing a Java application that uses java.util.logging for its logging needs. This application uses a multitude of external libraries (JDBC, JMS clients, JSR-160 implementation, etc), some of which also use java.util.logging.
I want to set the log level for my Loggers to ALL when I specify a flag on the command line, but so far I...
I have a windows service and use nlog for logging. Everything works fine when I run from the visual studio ide. The log file updates with no issues. When I install the service, the service runs fine but the log file never updates. I am running under LOCAL SERVICE if that helps. Yes, I have created the logs directory under my applica...
I have an existing .net service, and I want to configure it to write messages to a log file. I added in the following in the service configuration:
<system.diagnostics>
<sources>
<source name="My.Service" switchValue="All">
<listeners>
<add name="text" type="System.Diagnostics.TextWriterTraceListener" initializeData=...
We have a pretty large website, which handles a couple million visitors a month, and we're currently developing an API for some of our partners. In the near future, we hope to expose the API to all of our visitors.
As we are trying to limit the number of requests to say, 100.000 / day and 1.000 / minute, I need to log the total number o...
I have an existing application which does all of its logging against log4j. We use a number of other libraries that either also use log4j, or log against Commons Logging, which ends up using log4j under the covers in our environment. One of our dependencies even logs against slf4j, which also works fine since it eventually delegates to l...