I am using the patterns & practices enterprise library (p&p EntLib) logging block to write to a text file.
Some of the log message contain multiple lines which I would like to force to become a single line - in other words replacing the \r & \n with a space in the log messages prior to them being written to the file.
How do I configur...
Is it possible to log the session ID in the access log of WebLogic 8.1.6?
...
Is it possible to have postfix log the actual contents of an email (Subject, Body) it sends?
I checked in /var/logs/mail.info and mail.log but looks like that's just some basic stuff, like headers.
...
I'm currently using Google Analytics Event Tracking to track user interface interactions in my web application.
Since our system doesn't currently have a way to log client side errors, as a quick fix I've put event tracking code in catch blocks and web service error handlers.
Does anybody else do this? Is it effective, or would you re...
I have an application that writes traces with a timestamp when certain items are clicked or accessed. I need to write these to a text log file so that they can be accessed remotely.. The device the app runs on doesn't have a web server and doesn't run the flash debug player, os is xp. How can I send these traces to a text file? I noticed...
I've encountered the following bug:
http://issues.apache.org/jira/browse/AXIS2-4363
It states the following:
This error only occurs when log level for org.apache.axiom is DEBUG so a workaround is to set log level > DEBUG.
My question is HOW do I go about doing that? I've been scouring my directories for a properties file or something...
My SpringSource dm Server log is full of lines like the following:
com.springsource.server.kernel.dm.ApplicationContextShutdownBean < void com.springsource.server.kernel.dm.ApplicationContextShutdownBean.onApplicationEvent(ApplicationEvent)
making it hard to spot interesting log events.
How can I turn these log entries off?
...
I have several processes running concurrently that I want to log to the same file.
We have been using Enterprise Library 4.1 Logging Application Block (with a RollingFlatFileTraceListener), and it works fine, apart from the fact that it prepends a GUID to the log file name when two processes try to write to the log file at the same time...
I'm using the Enterprise Library Logging application block to allow my application to log various events. This is working fine and the logs can be seen by Event Viewer (eventvwr.exe) going into the Application log.
However, Event Viewer always shows the user field as "N/A". Other applications have the field populated - how do I popula...
I have a basic facility for allowing users to remotely apply changes to the logging files in my application. Some logs are configured using java.util.logging properties files, and some are configured using log4j/log4cplus-style properties files. I'd like to do some basic validation of the properties that users try to apply. Namely, I ...
I'm looking for a C++ logging framework with the following features:
logs have a severity (info, warning, error, critical, etc)
logs are tagged with a module name
framework has a UI (or CLI) to configure for which modules we will actually log to file, and the minimum severity required for a log to be written to file.
has a viewer which...
My team has inherited support for 100+ applications. The applications don't have any kind of common architecture, so the ones that do logging usually do it with custom code to local files or a local database, and it's all unmanaged. We want to change that.
We're slowly migrating the applications over to using log4net and standardising t...
I'm having a tough time getting the logging on Appengine working. the statement
import logging
is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an Eclipse issue, so I tried calling
logging.debug("My debug statement")
which does not print anything out on the dev_appserver. I haven't...
Is there a possibility to get "more" lines into the command window (Console)?
When I debug my programs I output quite a bunch of lines to the window and the beginning of the ouput keeps disappearing out of the range I can scroll back the window so I don't see my complete output from the beginning of the program.
How can I get the comma...
Is it possible to log to a single destination (i.e. using one FileHandler) with multiple loggers (i.e. logging.getLogger("base.foo") and logging.getLogger("base.bar")), and use different formatters for each of the loggers.
To my understanding it's only possible to assign one formatter to each handle. Maybe it's possible to associate the...
We are using log4net to create our logfiles from Windows services, and we are using the RollingFileAppender rolling based on date. The version of log4net we are using is 1.2.9. Now for the issue. We are rolling based on date, and on the days we need to restart a service the log file for that day is not rolled.
Example: Say today is ...
Hey guys,
I've been tasked with finding a way to log every outgoing request from one of our servers. It cannot be a proxy or firewall of any kind. It simply needs to sit in memory and watch the outgoing traffic and log what it sees. I'm going to be building metrics on this later and it needs to be free/open source.
I've done some googl...
I just upgraded jruby to 1.4 and I notice when I run my rails app that I get all kinds of logging spam now. Has anyone had experience with this?
I'm not sure if it's a jruby thing, or if they've change the version of Webrick (i can't remember the version being run before) but I have a log line for every static file it loads. The wor...
I am writing some logs to the event log using the Microsoft enterprise library
Its writes logs away fine but doesnt seem to set the category in the event log. The category appears okay in the message body of the log (if I choose to set that) but the event viewer doesnt pick up the category.
What am i missing?
c# source
LogEntry log...
I am creating a Composite WPF (Prism) app with several different projects (Shell, modules, and so on). I am getting ready to implement logging, using Log4Net. It seems there are two ways to set up the logging:
Let the Shell project do all of the actual logging. It gets the reference to Log4Net, and other projects fire composite events ...