Hi!
1. When writing from an applet, do you have to jar up the log4j.jar inside
the applet and download it onto a client.
2. Do you have any security issues when writing to a file on a clients
machine using applets in log4j.
Thanks in advance.
Van
--
Hi All!
I am in a 3 tier environment, where the domain is in an appserver and the
client is a browser. I would like to log some error messages from my applet
on to my clients machine. Has anyone ever tried it?
The only way I can think of doing this is by downloading log4j.jar on to the
client
Title: Designing Logging class
Reshma,
This
is Van. The one problem that we are finding with using static utility class is
that the entire product is cluttered with calls to this static logging class.
You are essentially bounding logging to this class.
i.e,
there are going to be calls li
Title: Asynchronous logging ? JMSAppender ?
When
using JMS, if these messages are something that you cannot loose under any
circumstances, then you would have to use persistence JMS, which affects
performance and would most likely be an over kill depending on where you log
these messages.
Category has a method called l7dlog to help with parameterization and
localization. But it doesn't quite do what I would like it to do.
If I have a resource bundle that has the following entry
ERROR_101=some error in the system
then if I call
l7dlog(Priority.ERROR, ERROR_101, null);
the out
Basically, anything under apache is free to use. For distribution and other
stuff read the apache license located under http://www.apache.org
The idea is to give and take, developers contribute their share to open
source and in return make use of the product.
Van
-Original Message-
From
log4j.additivity.categoryName=false
-Original Message-
From: James House [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 2:23 PM
To: LOG4J Users Mailing List
Subject: RE: Additivity flag
Can anyone answer how to do this in the properties file?
Also, I've seen it asked a few t
I was curious as to how logging is supposed to be implemented. I can
basically see these two approaches
1. Make every class a logging class. i.e, All domain classes should inherit
from a class called Log, which takes care of logging. Here you can argue
that all classes are loggers so it's appro
Sorry, BasicConfigurator.disable seems to be deprecated. You can use
Category.getDefaultHierarchy().disableAll()
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 11:58 AM
To: [EMAIL PROTECTED]
Subject: How to switch off the loging?
I h
Take a look at
BasicConfigurator.disable
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 11:58 AM
To: [EMAIL PROTECTED]
Subject: How to switch off the loging?
I have a category com.mycompany.prod. How to switch off it's loging? I me
I guess you need the following property
log4j.appender.standardOutput.layout.ConversionPattern=%d{ABSOLUTE} -%m\n
-Original Message-
From: Adler, Oliver [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 2:18 AM
To: '[EMAIL PROTECTED]'
Subject: Printing Absolute Time Stamps
Hi,
PropertyConfigurator>>configureAndWatch
should do the trick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 1:00 PM
To: [EMAIL PROTECTED]
Subject: Dynamic property file
Hello
I would like to dynamically change the priority of logging.
Correct me if I am wrong,
I believe all categories inherit from the root category. The output of a log
statement of category C will go to all the appenders in C and its parents.
So, in your case since your maillog inherits from root category which routes
to weblogic log, they go to both the out
al Message-----
From: Veerappan Saravanan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 4:30 PM
To: '[EMAIL PROTECTED]'
Subject: One category, different priorities, different outputs
I have a category 'categoryA' that needs to log to different outputs based
on their pr
I have a category 'categoryA' that needs to log to different outputs based
on their priority. The following piece of code doesn't work
log4j.category.categoryA=ERROR, outputA
log4j.category.categoryA=DEBUG, outputB
The second line overwrites the previous line, so the previous line is not
conside
I agree with Jann that atleast error messages should show up. But if you
still want to do it, I think the following code will work.
BasicConfigurator.disable(Priority.FATAL);
This will disable all Fatal and lesser priority messages.
Van
-Original Message-
From: Jann VanOver [mailto:[E
Help!
When writing your own appender, is this is the correct/only way to capture
the exception stack trace
public void append(LoggingEvent event)
{
String buffer = layout.format(event);
writer.write(buffer);
if (event.throwableInformation != null) {
writer.write(event.thr
Jeet,
The config file that you have attached seems to be the one from log4j's
examples. It doesn't have any of your domain specific configuration in it.
It looks like you have defined a category called
net.datalinx.NotificationServer.statelessSession.NSBean
but haven't configured an appender to
log4j.category.foo.bar=INFO, SERVERLOG
would disable all debug statements. The idea is that all messages with less
priority than what's mentioned in the above line will be ignored (not
logged).
-Van
-Original Message-
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
I don't know how log4j needs to be configured to work with weblogic console,
but if you are using weblogic server as a service, then you would have to
write your own weblogic appender.
The following is a sample...
public class WeblogicAppender extends AppenderSkeleton
{
private LogServic
missing something or did you confuse SMTP for SNMP?
Speaking of SNMP, has anyone done any work on an appender which can
issue SNMP
traps? My boss was curious about this functionality.
Thanks,
Alan
Veerappan Saravanan wrote:
> Never mind, found the answer in version 1.04. There's a SNMP
Never mind, found the answer in version 1.04. There's a SNMPAppender under
org.apache.log4j.net.
It's been there since version 1.0
-Original Message-----
From: Veerappan Saravanan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 1:25 PM
To: '[EMAIL PROTECTED]'
S
Does log4j have snmp support? Can anyone point me to a location where I can
find more information on it.
Thanks
Van
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
23 matches
Mail list logo