Okay, what is it, and why does it occur on Win2003 server, but not on WinXP.
It doesn't seem to affect my application at all, but I get this error message when I close the application. And it's annoying (as errors messages should be).
I am using pyOpenGl and wxPython to do the graphics stuff. Unfortunately, I'm a C# programmer that h...
Is there a way to log(/var/log) commands executed by users in the *nix terminal?
...
We use Log4j (and Commons Logging) to log our error messages. Now we want to set up an additional log appender that outputs fatal errors to syslog, but without the exceptionally long Java stacktraces (those will still be available in the full log file).
How would one configure this (using log4j.xml)? Is there a filter available to ignor...
I have implemented tracing based on System.Diagnostics.
I am also using a System.Diagnostics.TextWriterTraceListener, and hooked the whole trace up to a MOSS 2007 Web Application.
The trace for some reason is trying to (a) create the log file, and/or (b) write to the log file using the user that is currently browsing the SharePoint s...
I'm thinking about using log4net in a MOSS(SharePoint) 2007 project, but I need to know if the logging can easily be configured to log using a certain username + password.
...
Is it possible to log certain events to -> event log for example, while others to -> file trace listener, while others still to -> SQL database.
I want to be able to configure this somewhere so errors go to text, verbose information goes to SQL, and warnings go to (event viewer and text).
Is this type of thing possible?
...
I am adventuring into some AOP and it seems with .NET PostSharp is the way to go.
I want to do some simple logging to the db when an exception occurs. However I am finding it difficult to find any real solid examples of using PostSharp beyond the basics. I tried the following:
[Serializable]
public sealed class LogExceptionAttribute :...
Can anyone provide (or point me to) example sql code for logging exceptions using Enterprise Library Exception Handling Application Block (EHAB)? ie I'd like standard CREATE TABLE and CREATE PROCEDURE statements for the structures and procs to store logged exceptions in a SQL Server database.
Also, can anyone describe how the app block ...
Why one would use one of the following packages instead of the other?
Java Logging
Commons Logging
Log4j
SLF4j
Logback
...
Hey,
What I want is system which is logging methods called by users and their returning values if they have. For example a user logs in and he/she is surfing on my web app. then naturally he/she clicks on somethings and so he/she fires up some event method whatever then my log system must log this method name and time stamp combined wit...
How can I rotate the Apache Access and Error logs on a Window 2000 box?
I include my batch file below as an answer.
Is there a way of doing this directly via the Apache config file? I'm currently using the following customlog command to generate daily logs.
CustomLog '|" "Apache-Path/bin/rotatelogs.exe" "Apache-Path/logs/backup/inter...
Is there some standard way or has anyone written something that allows you to log a message and have it be displayed either in a small scrolling section on the iphone screen or in a separate window in the iphone simulator?
Update:
For noobs like me and don't know, use the NSLog methods as decribed below and make sure you select Run->Con...
For tasks that will take more than a few seconds, a good user interface, in my opinion, should provide a progress bar along with appropriate information on the progress of the operation. (Microsoft kindly provide User Interface Guidelines on this topic, but I want a status panel that is a bit more advanced.)
The "task" class I am using ...
Is there a tool which can be used to analyze log4net logs.
Particulary I would like to extract two method calls by thread id and analyze the duration between the two, to create some statistics of call duration.
Plus this over multiple (100x10Mb) files.
I suppose grep would also do it.
...
Does anyone know where a log of who connected to my subversion server and what they did with it is?
I'm looking to find out what time and which files were checked out.
I'm assuming that it has something like a webserver log somewhere and I just can't find it.
EDIT: From the response below, I wasn't aware that there are different wa...
So for viewing a current object's state at runtime, I really like what the Visual Studio Immediate window gives me. Just doing a simple
? objectname
Will give me a nicely formatted 'dump' of the object.
Is there an easy way to do this in code, so I can do something similar when logging?
...
I have a web application with multiple web services. This web application has business and persistency layer. Is it possible to use separate log appender (log file) per web service?
This applies to web pages too. Essentially I want to separate my logs NOT based on the class or layer/namespace, but from point of entry, which can be web s...
any generic way to trace/log values of all local variables when an exception occurs in a method?
(in C# 3)
...
Hi,
I'm new to log4net, so hopefully this is a really easy question for someone?!
I've got log4net working with the RollingLogFileAppender for my web application. I'm using logging to try and find where some performance issues are coming from. In order to do this, it'd be useful to include the ASP.NET SessionID in the log output so t...
I have a script which will be run interactively by non-technical users. The script writes status updates to STDOUT so that the user can be sure that the script is running OK.
I want both STDOUT and STDERR redirected to the terminal (so that the user can see that the script is working as well as see if there was a problem). I also want b...