logging

When I set NHibernate "adonet.batch_size" the sql not logged any more.

When I set both: show_sql = true adonet.batch_size = 100 the INSERT/UPDATE SQL statements are not logged any more. Can this be fixed some how? ...

Getting An IP Address in a CSLA remote data portal

I'm writing an app in CSLA and want to log IP addresses, but only if the client is calling a remote data portal (such as the WCF one). How can I get the client's IP address when executing within a remote data portal? I realize I could probably pass it with the request, but I'd like to avoid this if possible. ...

Java Message logging Web Application

My Apache Tomcat Server is getting periodic updates from a Java based client Application, At the moment the scenario is just one client and talking to the server. I want to log the messages from the client onto the server with time-stamp what kind of framework will help me in achieving this? ...

What's a good way to debug Windows message content and destination?

I'm working on an application that simulates a Windows mouse based on other behavior. One example is that pressing the + or - keys on the keyboard sends the WM_MOUSEWHEEL message to a target window with an appropriate delta. The problem is that in some situations I'm having a hard time replicating the messages that i think windows is s...

Adobe air log capturing tools?

What is a good tool for capturing the logs from adobe air application? I'm looking for something that can capture the log from an air application when it runs (and ideally when it crashes). I'm looking for something like Bugsplat (http://www.bugsplatsoftware.com/) for c/c++ as for adobe air/actionscript. Thanks! ...

Where to place logging code

Hi I'm wondering about where I should place logging code in my C# application. Let's say I want to log the program arguments (like myapp.exe -arg1). The arguments are passed from the entry-point class with main() before it reaches a simple factory class that parses the arguments (actually there is only one argument) and creates an ob...

Use Pantheios logging framework from a dll

Im a trying to use pantheios logging framework from inside a c++ dll. I have successfully built the dll and it executes through my test application (C++ MFC Application). I have used implicit linking with the following includes: #include <pantheios/implicit_link/core.h> #include <pantheios/implicit_link/fe.simple.h> #include <pantheio...

How is it possible to access Sharepoint Farm logs?

I have been looking at the "_layouts/SpUsageSite.aspx" logs for my site, but they are giving erroneous results (eg 0 unique visitors when I know at least I have been on the site) What is the best way to see these logs in a better way than the ootb functionality? ...

Log4Net Dynamic Filename not working...

Hey folks... This is really starting to bother me. I'm just simple trying to add a property variable to a log4Net filename. Can anobdy see anything I'm doing wrong??? Here's the config... <appender name="logger1" type="log4net.Appender.FileAppender"> <file type="log4net.Util.PatternString" value="C:\temp\file_%property{foo}.log" ...

Rails - Tracking Referrals to Conversions

We just launched and are looking to better understand where the users who are converting to registered users are actually coming from. We can see our traffic sources and referrals via Google Analytics and our other web statistics programs, but in volume, it's difficult to tie these specifically to which users in our database have conver...

Hiding sensitive/confidential information in log files

How would you go about hiding sensitive information from going into log files? Yes, you can consciously choose not to log sensitive bits of information in the first place, but there can be general cases where you blindly log error messages upon failures or trace messages while investigating a problem etc. and end up with sensitive inform...

Disable NHibernate logging

I have an empty app.config file, but I still get NHibernate debug logs NHibernate: SELECT this_.LogID as LogID71_0_, this_.Level as Level71_0_, this_.Message as Message71_0_, this_.EventTime as EventTime71_0_, this_.Component as ... I tried adding a log4net configuration with an ERROR log level, but no use. How can I stop these log me...

EntLib 4.1 Logging Application Block Category filter

How can I define Categories and Category filter in SQLDB and make my Logging Application Block refer to these instead of the ones in application configuration file ? Any sample would be more helpful. ...

log4net and mailing

I need to modify the existing program that does some error logging by writing to an access file and it actually uses log4net dll (as we found out by checking the dlls via hex editor) so in idea I will need to recompile the tweaked dll with the original that program uses. The need is pretty simple, for some errors that are written to the ...

objective-c logging best practices

I am writing my first objective-c daemon type process that works in the background. Everything it does needs to be logged properly. I am fairly new to Apple stuff so I am not sure, what is the most common and/or best way to log activity? Does everyone simply log to a text file in their own special format, or use some sort of system call...

.Net Logger (Write your own vs log4net/enterprise logger/nlog etc.)

I work for an IT department with about 50+ developers. It used to be about 100+ developers but was cut because of the recession. When our department was bigger there was an ambitious effort made to set up a special architecture group. One thing this group decided to do was create our own internal logger. They thought it was such a simp...

HAML throwing exception on Production but not Development

I've written this HAML: %script{:src => "http://www.google.com/jsapi?key=mykey" :type => "text/javascript"} Note the missing comma between :src and :type. On my Production server (Dreamhost/Linux), I get the following logged exception when I try to view the page: ActionView::TemplateError (compile error /home/.kuce/sugarthrill_stage...

Log4j loading up memory?

We can call Log4j in two ways 1) Having static Logger reference in each class of the package and call logger 2) Having one static Logger reference in once 'static' class and refer this 'static' class from every where Based on memory which method is efficient and Which method is good generally? ...

Java Logging: show the source line number of the caller (not the logging helper method)

The numerous (sigh...) logging frameworks for Java all do a nice job of showing the line number of the source file name for the method that created the log message: log.info("hey"); [INFO] [Foo:413] hey But if have a helper method in between, the actual caller will be the helper method, and that is not too informative. log_info("h...

WCF Message Logging

I am using WCF to access some web services and I'm trying to determine which one of a handful is the most efficient. I enabled message logging to try and get some more info about how well they function but for some reason the .svclog file doesn't seem to be generating, I'm stumped. as far as i can tell everything is set up, ive enabled m...