Hi
I'm trying to configure chainsaw v2 and found problem with log format,
Here's the format of the log files we have,
[financing_tools_gcps] [CountryCodeXRefProcess_impl] [06/29 03:29:25]
[DEBUG] [Severity 4] [EMAIL PROTECTED] a25sod001] getCountryXRef: country
code xref loaded.
Here's the ent
How do I configure log4j in Ant to log to a JMS queue???
Rohit B. Rai,
Cordys R&D (India) Pvt. Ltd.
--
If you haven't found something you are willing to die for, you are not
fit to live!
***
Hi all,
I am using jakarta-log4j-1.2.8 in my java program to
log errors. When I compile the program it runs fine.
But when I execute it, it throws the following error
C:\VLakshmi\JCI\Equipment
Interface\Code\WEB-INF\classes>java JCI.XMLInterface
Exception in thread "main"
java.lang.NoClassDefFou
It's not enough to just put it in the lib dir, you must include it in your
classpath.
Heri
> -Original Message-
> From: venkatlakshmi [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 29, 2006 1:55 PM
> To: log4j-user@logging.apache.org
> Subject: NoClassDefFound Error for org/apache/log4j
Yes, I have included it in the classpath also.
Still it gives me the error.
--- Bender Heri <[EMAIL PROTECTED]> wrote:
> It's not enough to just put it in the lib dir, you
> must include it in your classpath.
> Heri
>
> > -Original Message-
> > From: venkatlakshmi
> [mailto:[EMAIL PROTE
I am trying to use Log4J for logging from Ant but it gives these errors.
log4j:WARN No appenders could be found for logger
(org.apache.tools.ant).
log4j:WARN Please initialize the log4j system properly.
I have created the log4j.properties file. Its contents are
log4j.rootCategory=file
Rohit,
This means that the log4j.properties file that you have created in NOT in the
classpath. Make it available in the classpath.
regards,
-Jaikiran
Rohit B Rai <[EMAIL PROTECTED]> wrote:
I am trying to use Log4J for logging from Ant but it gives these errors.
log4j:WARN No appen
This works:
[financing_tools_gcps] [LOGGER] [TIMESTAMP] *Severity * [NDC] MESSAGE
It's getting confused by the brackets around the severity field (there must be
a bug in the parsing logic).
Scott Deboy
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR 97201
Telephone: 503.224.
If you added -Dlog4j.debug to the command line log4j will output info
to std. out. telling you how it tries to configure itself.
On 6/29/06, jaikiran pai <[EMAIL PROTECTED]> wrote:
Rohit,
This means that the log4j.properties file that you have created in NOT in the
classpath. Make it availabl
What does line 20 do? Does it configure Log4j? What JDK are you using? What,
exactly, does your classpath look like?
Jake
Quoting venkatlakshmi <[EMAIL PROTECTED]>:
> Yes, I have included it in the classpath also.
>
> Still it gives me the error.
>
> --- Bender Heri <[EMAIL PROTECTED]> wrote:
Hi,
I found the solution to the problem. While configuring
the classpath, I specified the directory where the jar
file is available and I did not specify the exact jar
file in the directory. Thats where the problem was.
Now after including the name of the jar file in the
directory, it works fine.
Correction..everything is working fine - you have to set your timestampformat
to match your input:
logformat:
[financing_tools_gcps] [LOGGER] [TIMESTAMP] [LEVEL] [Severity PROP(SEVERITY)]
[NDC] MESSAGE
timestampformat:
MM/dd HH:mm:ss
My previous post skipped over the LEVEL field...
Your logfo
Thanks for the responses
I debugged it and found that it was not reading the configuration file.
It has to be done this way.
provide the full conf file URL!
=
D:\Working\netbeans\myAntRunner>set ANT_OPTS=-Dlog4j.debug
-Dlog4j.configura
13 matches
Mail list logo