there any tricks that I'm missing here?
>>
>> Jake
>
>
> --
> Ceki
>
> SUICIDE BOMBING - A CRIME AGAINST HUMANITY
> Sign the petition: http://www.petitiononline.com/1234567b
> I am signatory number 22106. What is your number?
>
>
> --
> T
from being "held hostage"? Are
> there any tricks that I'm missing here?
>
> Jake
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
--
Scott
e DOMConfigurator and have
> it set to debug mode, and the logger and appender seem to
> configure correctly - I just get the error message.
>
> Anyone have any ideas?
>
> Mark
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional comma
' name="..." ' to '
>Thanks all.
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
ension of org.apache.log4j.FileAppender
> SyslogAppender is a simple extension of AppenderSkeleton. Calls a custom
> Syslog API also written in Java.
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
gt; (and some more stuff for other classes that looks mostly like the HXA
> declaration).
>
> Joel Rees
> Alps Giken Kansai Systems Develoment
> Suita, Osaka
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional comma
2 ");
>
> Please help a poor Java programmer ;-)
>
> Jaume
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
e to log to only one file at a time. All of my attempts so far
> have either not worked at all or they dump all messages to both files.
> Thanks for any help,
>-M@
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands,
my attempts so far
> have either not worked at all or they dump all messages to both files.
> Thanks for any help,
>-M@
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
-
-
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE W
s and cons of each?
>
> -
> Steve Cohen
> Sr. Software Engineer
> Ignite Sports, Inc.
> [EMAIL PROTECTED]
>
>
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
--
To unsubscribe, e-mail:
rvletContextImp
> l.java:922)
> at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> l.java:886)
> at
> weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
> Manager.java:
> 269)
> at
Configurator.configure();
> HXDbg.glog = Category.getInstance( HXDbg.class.getName() );
> }
> }
>
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
S
obbaly missed a lot.)
>
> Joel Rees
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
You will have problems using "\", as that is the escape character in
java. Try using "\\" instead.
Look at:
http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html#load(java.io.InputStream)
For further using property files.
Cheers,
Scott
--
Scott Farquhar
Bryan,
Try starting you application with debugging information turned on.
java -Dlog4j.debug=true a.c.b
This will give you more information about whether log4j is finding the
config file or not.
Cheers,
Scott
bryan hansen wrote:
> Sorry if this gets hashed over, but I am new to log4j
> and
I would hazard a guess that this is a virus. Delete the email without
opening the attachment.
".com" is an old dos executable.
Cheers,
Scott
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
[EMAIL PROTECTED] wrote
http://www.devx.com/devxpress/gurl.asp?i=1X1350332X40831
Cheers,
Scott
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
John Volkar wrote:
> Reliablity of this mechanism is tied directly to that of SecurityManager and
> it's
What appenders and layouts are you using? Post your config file to the
list.
This will have an effect on how long it takes to log.
Cheers,
Scott
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
Ilya Tsymbal wrote:
> Hi,
>
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
> [java] at weblogic.ejbc.main(ejbc.java:21)
> [java]
> [java] ERROR: ejbc found errors
>
>
>
> please let me know what could be the problem and
> what should be the CLASSPATH for the
>
> please let me know what could be the problem and
> what should be the CLASSPATH for the log4j,
>
>
> Thanks
> Atias Shimon
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTE
lse had this problem?
> Eliot
>
>
> _
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROT
g4j?
>
> Thank you so much
> Paolo
>
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
the foreground.
Good luck with your project.
Scott
Bob Jacobsen wrote:
> Thanks for the quick reply!
>
> At 4:53 PM +1100 1/5/02, Scott Farquhar wrote:
>
>> a. This occurs from the default windows installation running jar
>> files with "javaw -jar xxx.jar".
As configured, Log4J's FileAppender puts only the LF on Win95/98. This
> is really Not A Problem on Linux or the Macintosh, but again is a real
> hassle for users.
>
> Can anybody suggest solutions to these? Preferably cross-platform ones?
>
> Thanks in advance.
>
> Bob
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
I hate replying to my own posts - but where is build.xml ? I can find
it in version 1.1.3 (in dir /build/), but there is no /build/build.xml
in 1.2 alpha5?
Also - is there read cvs access anywhere? Or is alpha5 the most
cutting-edge it gets?
Cheers,
Scott
Scott Farquhar wrote:
> C
> Summary: Do not cross post messages. In other words, pick a mailing
> list and send your messages to that mailing list only. Do not send
> your messages to multiple mailing lists. The reason is that people may
> be subscribed to one list and not to the other. Therefore, some
ki mentioned in this dev post:
http://www.mail-archive.com/log4j-dev%40jakarta.apache.org/msg01261.html.
Let me know any feedback, and sorry for the long email.
Cheers,
Scott
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
--
To unsubscribe, e-mail:
Scott
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
Steve Ebersole wrote:
> Is there a way to clear logger entries from the Hierarchy class's internal
> Hashtable?
>
> The issue I am trying to get around deals with
Usman,
Google is very useful for queries such as these:
http://www.google.com/search?q=chainsaw+log4j
The page you are after is here:
http://www.puppycrawl.com/chainsaw
Cheers,
Scott
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE
This is a problem with your jsp engine and not necessarily log4j.
try:
<% myString = "this is a message " + myString; %>
Some jsp engines can't concatenate strings inside the tags.
Cheers,
Scott
--
Scott Farquhar :: [EMAIL PROTECTED]
Atlassian :: http://www.atlassian
I don't know too much about this, but wouldn't you be better using SocketAppender, and
then from there sending the email? You would then have the logging implemented in a
separate JVM, and would be immune to crashes that would affect buffering of data.
Is finalise always called on JVM shutdown
You need to use the line:
log4j.additivity.com.foo.mailagent.MailAgent=false
This means that it does not inherit from its parent (in this case root category).
Cheers,
Scott
>>> [EMAIL PROTECTED] 06/21/01 01:44am >>>
Hi,
We are running Weblogic server 5.1. We have an application log file whichc
FYI
An interesting read from another java mailing list.
I apologise for duplication for those that receive this twice.
Scott
---
This e-mail is solely for the use of the intended recepient
and may contain information which is confidentia
Sorry about that. My mistake.
>>> [EMAIL PROTECTED] 06/13/01 06:50pm >>>
At 17:30 13.06.2001 +1000, SCOTT FARQUHAR wrote:
>The problem is that Category takes a String, not a class.
Hello Scott,
Categoty.getInstance takes a string or a class. Assuming that the MyFooBar cl
The problem is that Category takes a String, not a class.
Category cat = Category.getInstance(NameOfTheServlet.class.getName());
If you turn off friendly error messages in IE, you would have been able to see this
error.
Scott
>>> [EMAIL PROTECTED] 06/13/01 01:15pm >>>
Hi,
I'm trying to use
try analog (www.analog.cx)
Not sure what you are trying to analyse, but analog does a great job with web site
logs.
>>> [EMAIL PROTECTED] 06/07/01 10:23am >>>
Hi,
I've been using log4j with Jboss for the past couple months now with great
success. I'm currently looking for any log analyzers t
The way I do it is pass the context path of the request to the category.
As in:
Category log = Category.getInstance(Utility.getDottedWeb(request.getServletPath()));
Utility.getDottedWeb turns "/" into ".", so then you can log per directory (ie each
directory is a parent category to the servlet
You can specify custom error pages, and they can contain scriptlets to log information
about the error.
Alternatively you could setup Tomcat's error handling (as was already mentioned).
>>> [EMAIL PROTECTED] 05/08/01 12:00am >>>
Thanks for you r help guys, ive managed to fix the
problem:)
whic
Personally I think that wrapping should be done on whatever client you wish to view
your logs on.
However, if you wished to wrap your messages on the fly, you would need to extend your
favourite appender and change the doAppend() method.
something like:
doAppend(LoggingEvent logevent)
{
i
I suspect that this is not a log4j problem.
You are probably best to go to http://java.sun.com for a tutorial on applets.
www.cse.unsw.edu.au/~cs1021 also has some good information.
>>> [EMAIL PROTECTED] 05/08/01 06:30am >>>
Hi
I am trying to use the log4j for logging my project.
it works fine
1& 2 are involving init-parameters.
Instead of hard-coding in the filename that I would use, I pass the filename as a
parameter to the servlet. These parameters are stored in a text-file, or in the
server config, depending on which server you have.
3) What you are after is a different appende
I'm not sure if it makes any difference - but why do you have this line?
log4j.appender.A1.Append=true
my RollingFileAppender works correctly, and I don't have that line
>>> [EMAIL PROTECTED] 05/04/01 01:21am >>>
Hi,
I will know has anyone used the Rolling Featur from Log4j?I mean theCreatin
Ceki and others - thanks in advance for your help with this question
I am looking to use log4j in a j2ee application. This question has more to do with
design patterns than log4j specifically, but I am hoping that someone will have come
across and solved something similar.
As far as I know, y
I have solved this problem, but the solution was unrelated, so I didn't think of
sending it to the list. But here it is:
If you are interested - here's what happened:
When you import and EJB into Websphere, you must use a command line utility to import
the classes into Websphere, as well as t
Wouldn't it be better to write your own Configurator to turn log4j logging on and off
when necessary? Surely you could write it so that it would cater for whatever
business logic you need..
Scott
>>> [EMAIL PROTECTED] 04/10/01 08:19pm >>>
Hi there,
I've just started using log4j (and am stil
check out jakarta.apache.org
(from memory) Click on mailing lists on the left. It will bring up a page that has
references to archives.
Happy hunting!
Scott
>>> [EMAIL PROTECTED] 04/10/01 01:34pm >>>
Hi,
Are the mails in Log4j-User & Log4j-Developer mailing list,
archived/stored somewher
I know that it is probably a Websphere problem, but I'm hoping that perhaps someone
has come across this before:
When using log4j from a jsp, I have no problems. As soon as I use it from a servlet,
I get the following error:
java.lang.NoClassDefFoundError: org/apache/log4j/Category
Can anyone
AFAIK you don't have to call rollover() in your code.
The appender works it out for you.
It will automatically roll the files when they reach a certain size.
>>> [EMAIL PROTECTED] 04/06/01 01:44am >>>
Hi ,
i set MaxBackupIndex=1 , but i didn't get any backup file.
even if i set MaxBackupIndex=
logise for the tone of my last email - it sounded rude, and that's
not what I had intended.
>>> [EMAIL PROTECTED] 04/04/01 07:09pm >>>
Scott,
This depends on needs. Nevertheless this I expected from no minus in the format string
- right?
Regards
Frank-Olaf Lohmann
>
If you set MaxBackupIndex=1 , then you will only get one backup file.
If you want more, set MaxBackupIndex=10, and you will end up with 10 files:
log.1
log.2
...
log.10
>>> [EMAIL PROTECTED] 04/04/01 08:52pm >>>
I have set the MaxBackupIndex of one , (two and tree ..) in the Config-file
log4j.
"truncated from the beginning"
ie
"beginning is truncated"
so if you start truncating from the beginning, you will end up with only the last
characters left, which IMHO is usually the most useful part.
>>> [EMAIL PROTECTED] 04/04/01 03:16am >>>
Hello all,
the following format string '%-20.30c'
>From the javaDoc on RollingFileAppender:
-
rollOver
public void rollOver()
Implemetns the usual roll over behaviour.
If MaxBackupIndex is positive, then files {File.1, ..., File.MaxBackupIndex -1} are
renamed to {File.2, ..., File.MaxBackupIndex}. Moreover, File is renamed File.
53 matches
Mail list logo