Mailing List
Home
Forum Home
Maven - Project building tool
Axis - Java SOAP implementation
Lucene - Full-featured text search engine APIs
Cocoon - MVC web framework based on XML/XSL
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
Log4J - A log library
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database error code ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Subject: Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Proposal: Adding jar manifest classpath in jar and war plugins
Servlet File Download dialog problem (IE6,Adobe 6 0)
java security AccessControlException: access denied (java io FilePermission
Unsupported major minor version 48 0 problem while running the an
   telope task
Subject: axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
Classpath problem
jsp data into Excel
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
Subject: InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Subject: AXIS: tomcat timeout ?
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
XDoclet, Struts and Maven: Where to start? SOLUTION
Subject: Running junit tests fails
 
Log4J
Page 122 of 122 Previous 100   Previous 10   121   122  

Avoiding ClassCastException when subclassing Logger

http //jakarta.apache.org/log4j/docs/TROUBLESHOOT.html#cce discusses the idea that Log4j does not support homonyms meaning that once a Logger by logger name is created and assigned to a particular

Subject: changing filename dynamically

Hi folks Is there anyway we can change the filename other than the one in the log4j config file??? I mean programmatically a method call maybe? say after each hour change the name of the file. Th

Beginer: Problems with compiling sample Hello Class

hi all I 'm new to java and recently came across Log4J. i downloaded v 1.2.28 and tried the sample Hello class mentioned in install file. I 'm able to compile Hello class with no errors. but when i tr

CompositeRollingAppender by Kevin Steppe

Hi Have you tried using the CompositeFileAppender by KevinSteppe We had following issues while using the code 1. When we set the size in KB in log4j.properties file. We get a log4j warning saying

NT appender and remote logging

I was wondering if there was a way to configure the NT event log appender to log to a remote host through the xml file configuration. I don 't see any way to do this except programmatically since the h

logging with parms

The layouts let us log lots of useful information that is normally captured "on-the-fly " by log4j. 1) Is there a way to force-set some of the standard parameters like method-name and line number so t

JDBCAppender to insert custom record

Hi I just wondering is there any way to use JDBCAppender to insert row which is of custom fields that is not specific to log data(log4j).......??? Like fields are specific to my application not sp

log4j throws exception for some classes and not others

I 'm wrapping Log4J in my own logger class and configuring the log4j.properties file like so public SportletLog { static { URL propsURL SportletLog.class.getResource( "/gridsphere/log4j.

XML PropertyPrinter

Hi Is there a mechanism for obtaining the properties in XML format? in the same way that you can retrieve the properties by calling new PropertyPrinter(PrintWriter) Thanks Nathan -------------

How to determine if DOMConfigurator.configure() worked

Is there a way to determine programmatically if DOMConfigurator.configure ( "filename ") completes successfully? I had a problem with my XML file that prevented the configuration from happening

Clarification needed

Hi This is Vijay a log4j user from India. Could anyone suggest me as to how to resolve each element of object array in a properties / configuration file. The object array is a parameter of the C

Logging in the constructor of a custom exception class

Hi I am wondering if anyone has used a design pattern of creating a custom exception class hierarchy the root of which makes logging calls to Log4j in the constructor? In other words instead

all appenders

Hi is there any way to obtain all appenders registered with the log4j system? I can see the Logger.getAllAppenders() method but I can 't see any global way of determining all appenders. Cheers Na

Log4J web interface

Hi does anyone know of a log4j web interface for managing log4j within a web app? e.g. changing logging at runtime and obtaining snapshots of logfiles? cheers Nathan

exceptions/messages that are not written to a file !

There are long messages and short ones. thank you Rami -----Original Message----- From Ingo Adler [mailto ingo.adler@(protected)] Sent Monday April 28 2003 4 09 PM To Log4J Users List Subjec

doubts regarding NDC in log4j across servlets

Hi I am working in a project where for an EJB environment for logging the messages we are using Log4j. Here we are using nested diagnostics contexts (NDC) to differentiate logging requests from diffe

Aspect logging

Howdy I 've been playing around with AspectJ and log4j interaction. Some very very interesting and powerful ideas arise. Of course I 'm not sure the performance implications and that 's a key questi

Subject: Logging best practices?

I 'm using Log4J behind Commons-Logging and everything is working fine but I find myself with a bunch of log.debug() statements and not much else. Is there a discussion anywhere of what kinds of th

Using a JMS Appenger together with a File Appender

Hi all I 'm trying to write an app where all application logs are sent to a JMS queue and in turn a MDB consumes the message and writes the logs in a DailyFileAppender. This is the core of my lo

Subject: RE: Thread based Logging.

Hi Steve ) Could u pls give me detail how do we set "discriminating information " you mentioned with LoggingEvent object as we are going to create separate log file based on this information...possi

Properly handling Log4j failures

If all Appenders fail for a given call to Log4j is it possible a) for the calling code to know all Appenders failed b) to send output to some default location under such conditions e.g. the N

Subject: logg4j and httpclient

Hi I just downloaded commons-httpclient-2.0-alpha3 and my app is using log4j-1.2.1 everything works fine before. But when test the httpclient time out feature I got exception Exception in threa

Log4j Wiki

Speaking of the wiki it looks like someone out there has been busy adding questions to the log4j wiki faq. http //nagoya.apache.org/wiki/apachewiki.cgi?Log4JProjectPages/FrequentlyAsk edQuestions I

Contributions (was RE: Log4J and JMS)

Steve You should consider adding this (and other useful code) to the log4j-sandbox or to the contributors section of the log4j-core. Or at least posting it to the wiki for future generations to fin

Log4J and JMS

public static void main(String args[]) { TopicConnection connection null try { char answer '\0 ' System.out.println( "Getting Topic ") InitialContext initContext new InitialCon

Subject: RE: output file using log4j

Generally speaking the file rolls over during the first call to Log4j in a new time period. There has been discussion about a solution that would create a new file as you describe but I forget th
Page 122 of 122 Previous 100   Previous 10   121   122