Hi folks,
I hope someone has solved this riddle already ... I am trying to make use of a
3rd party library that uses LOG4J in the context of JBoss. Unfortunately, this
library subclasses the LoggerFactory.
The result is that after the first call to this 3rd party API, JBoss stops
logging compl
Hi folks,
I hope someone has solved this riddle already ... I am trying to make use of a
3rd party library that uses LOG4J in the context of JBoss. Unfortunately, this
library subclasses the LoggerFactory.
The result is that after the first call to this 3rd party API, JBoss stops
logging compl
;host",
clientSocket.getInetAddress().getHostName())
so that output can be distiguished.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 7:59 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Logging through JBo
I would like to consolidate the logs from several processes, so that I have
only a single log file. (Let's ignore archiving, etc. for now.) Being
relatively new to JBoss, EJBs, etc., I'm looking for advice as to the best
way to do this. Right now, I'm considering having a logging session bea
Enable the TRACE level on the org.jboss.ejb.plugins.LogInterceptor
category in the log4j.xml configuration:
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Alban Soupper wrote:
Hi all,
I would like to trace the calls to my EJ
I reckon the easiest way is to write an interceptor that logs the call
and plug it into your container's interceptor chain.
Another option (which I use) is to add logging statements to your EJB's
constructor/finalizer/activate/passivate/load/store routines. I maintain
a class wide (static) counter
Hi all,
I would like to trace the calls to my EJBs, so I can observe the life (and
death) of my EJBs.
How can I configure JBoss 3.0.x (and Log4j ?) to print this kind of
informations.
Thanks by advance.
Alban.
***
T
You have to associate the appender with a category. Try reading the log4j manual
to see how one uses appenders:
http://jakarta.apache.org/log4j/docs/documentation.html
Matthew Hixson wrote:
In server/default/conf/log4j.xml I have the following:
In
In server/default/conf/log4j.xml I have the following:
In my class I'm getting a logger and logging a test message like so:
Logger _systemLogger = Logger.getLogger("system");
_systemLogger.debug("Hey, is this thing on?");
The strange thing is that th
with the log4j logger.
Hope it will help,
Marco
- Original Message -
From: "Matthew Hixson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 9:07 PM
Subject: [JBoss-user] logging sometimes works, sometimes doesn't
> I am doing some d
I am doing some debugging and would like to see all logging messages
written to the console. In the class of interest I am gaining a
reference to the logger like so:
private static Logger _systemLogger = Logger.getLogger("CONSOLE");
Sometimes I see messages like:
[CONSOLE] :
but more often
On Thu, Mar 20, 2003 at 10:54:36PM -0500, David Corbin wrote:
> If I have multiple .WARs (often with common classes), is there anyway to
> either
> 1) detect which .WAR is logging and control logging based on that via
> log4j settings
> or
> 2) or include information about the .WAR in each log li
If I have multiple .WARs (often with common classes), is there anyway to
either
1) detect which .WAR is logging and control logging based on that via
log4j settings
or
2) or include information about the .WAR in each log line.
Thanks.
David
-
I'm trying to setup logging to a JMS appender.
>From my log4j.xml:
In jbossmq-destinations-service.xml:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
e to many unused connections, it is
> pretty simple to back-track the log and find the error.
>
> - René
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of David Jencks
> Sent: 28. februar 2003 00:16
> To: [EMAIL PROTECTED
. februar 2003 00:16
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Logging DBPool-size usage
Did you try setting the org.jboss.resource.connectionmanager log level to
TRACE?
I think you will get what you want and more.
Why do you want this? If it seems like a generally useful feature it might
be a
Did you try setting the org.jboss.resource.connectionmanager log level to
TRACE?
I think you will get what you want and more.
Why do you want this? If it seems like a generally useful feature it might
be a good idea to have an additional category for loggin just this info
without any other fluff
Hello all
Jboss3.0.6 (soon 3.2x)
We have in a previous JBoss (2x i think) been able to log all usage of the database
pool-sizes, eg. when a connection is made and after disconnecting.
But now we need this info again, and cant find the switch to enable this information!
Where can we enable this in
---
> > From: Eric Klimas [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 06, 2003 11:52 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] Logging threshold...
> >
> >
> > Hi all,
> >
> > I'm running Jboss3.0.4 Tomcat 4.1.
bruary 06, 2003 11:52 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Logging threshold...
>
>
> Hi all,
>
> I'm running Jboss3.0.4 Tomcat 4.1.12, and was wondering if
> there was some way to change the logging threshold of the
> server without having to rest
Hi all,
I'm running Jboss3.0.4 Tomcat 4.1.12, and was wondering if there was
some way to change the logging threshold of the server without having to
restart jboss or redeploy my app (i.e. via the jmx-console). Probably a
simple answer for somebody, but I can't seem to find it
Thanks,
Eric
--
17:19
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] logging in a clustered environment
>
>
> This is a log4j configuration issue (you should check all
> available log4j
> plugins). I personnaly prefer one log per server for small
> clusters but you
> may wan
How do I make a unique log in a clustered environment, is this used by
someone? Or a log per node is a better approache?
--
| Emerson Cargnin |
| Analista de Sistemas Sr. |
| Tel : (051) 3358-4959|
| SICREDI Serviços |
| Porto Alegre - Brasil|
;origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Emerson
> Cargnin - SICREDI Serviços
> Envoyé : mardi, 19 novembre 2002 17:16
> À : [EMAIL PROTECTED]
> Objet : [JBoss-user] logging in a clustered environment
>
>
> How do I make a unique log
> I am using Struts framework --> JBoss 3.0 (Stateless Session Beans) -->
> Castor JDO.
>
> How can I separate the Castor logging from JBoss logging and have a
> separate file for the output ?
change the log4j.xml file int he conf dir of the server config you are
using. Essentially this is a log
Hi,
I am using Struts framework --> JBoss 3.0 (Stateless Session Beans) -->
Castor JDO.
How can I separate the Castor logging from JBoss logging and have a
separate file for the output ?
Thanks in advance.
Regards,
Arijit
---
This sf.ne
Ahh, thanks!
On Thu, 2002-07-25 at 02:10, Alex Loubyansky wrote:
> Hello Ryan,
>
> JBoss uses log4j for logging. All you need is to have a Category
> variable in your class and configure logging if neccessary in
> log4j.xml.
>
> alex
>
> Thursday, July 25, 2002, 9:47:33 AM, you wrote:
>
> RM>
Hello Ryan,
JBoss uses log4j for logging. All you need is to have a Category
variable in your class and configure logging if neccessary in
log4j.xml.
alex
Thursday, July 25, 2002, 9:47:33 AM, you wrote:
RM> Is there a best practice for having my application output to the jboss
RM> logs? I have
Is there a best practice for having my application output to the jboss
logs? I haven't been able to find an docs or archived list threads on
printing to the jboss logs in 3.0.
-ryan
--
Humans are the unfortunate result of a local maximum in the
fitness landscape.
www.ryanmarsh.com
-
I have been reading the forums, but haven seen an
error quite like I am having with Log4j and
JBoss/Jetty 3.0.0
I started using log4j with the standard log4j
initialization servlet from their sample code, well I
got and error that the display was looping and it
would just lock up. After a little
Hello!
Thanks everyone, now logging works as desired!
Dimitri
On Mon, 8 Jul 2002 12:27:09 +0100, you wrote:
>On Mon, Jul 08, 2002 at 12:42:30AM +0200, Dimitri PISSARENKO wrote:
>
>
>
>> does not work in my case (although logger.isDebugEnabled() returns
>> true).
>>
>> Does someone know, how o
On Mon, Jul 08, 2002 at 12:42:30AM +0200, Dimitri PISSARENKO wrote:
> does not work in my case (although logger.isDebugEnabled() returns
> true).
>
> Does someone know, how one can get the reference to the Logger from
> wihin an EJB?
I found that I needed to drop the Console appenders "Thresh
wraps it.
- Original Message -
From: "Andreas Kuckartz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 12:41 AM
Subject: Re: [JBoss-user] Logging from within EJBs
> > How can JBoss deprecate an interface in a separate package?
>
> C
> How can JBoss deprecate an interface in a separate package?
Category has been deprecated by the log4j project:
"This class has been deprecated and replaced by the Logger subclass. It will
be kept around to preserve backward compatibility until mid 2003.
Logger is a subclass of Category, i.e.
, July 07, 2002 10:29 PM
Subject: Re: [JBoss-user] Logging from within EJBs
> He *is* using log4j. Your suggestion below is a "deprecated" interface.
>
> I suspect that he is not looking in the right place for the debug
> messages.
>
> Debug messages only appear in the l
4 AM, Guy Rouillier wrote:
> Use log4j, e.g.,
>
>private final Category log =
> Category.getInstance(getClass().getName());
>
> - Original Message -
> From: "Dimitri PISSARENKO" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Su
Use log4j, e.g.,
private final Category log = Category.getInstance(getClass().getName());
- Original Message -
From: "Dimitri PISSARENKO" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 07, 2002 6:42 PM
Subject: [JBoss-user] Logging from within
Hello!
I want some of the events in the life of my EJBs to be logged at debug
level. The usual way to get an instance of Logger
class ProjectBean ...
{
...
private Logger logger = Logger.getLogger(ProjectBean.class);
}
and invokation of
if (logger.isDebugEnabled())
{
logger.deb
I have made a MBean that logs normally with log4j. The problem is that
it logs so much that I want the output to a separate file, and not in
the main logfile.
I have managed to have the output in a separate file using a new
appender, and a with to that logger, but I
can't find an easy way to ex
We have upgraded JBoss version from 2.4.3 to the 2.4.4 version.
In JBoss 2.4.3 we could log the number of JDBC connection
(opened/used/max) setting to true one of the attributes of the
connection
in jboss.jcml file
true
What should we do to obtain the same information in the upgraded version
I believe stuff sent via System.out winds up being redirected to the
logs as DEBUG level messages.
Peter Levart wrote:
> Hello!
>
> I noticed that in the recent CVS version of JBoss 3.0 the exceptions thrown
> by the container don't get logged to the CONSOLE or FILE any more. Since the
> sta
Hello!
I noticed that in the recent CVS version of JBoss 3.0 the exceptions thrown
by the container don't get logged to the CONSOLE or FILE any more. Since the
stack trace is lost on the client side (with jdk 1.3 at least), it is hard to
diagnose them. Is there any way to enable logging or dis
;t work for all properties. I think some
are only checked by the JVM at start-up.
Regards,
Adrian
>From: "Eric Kaplan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: RE: [JBoss-user] logging and admininstration
>Date: Tue, 19 Feb 2002 07:10:47 -0500
>
>
ious place?
Do you have log4j.jar in lib/ext?
Don't put it in the classpath, it can't see the rest of the
system from there, hence the other errors you report.
Regards,
Adrian
>From: "Eric Kaplan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>CC: &l
.jar in lib/ext?
Don't put it in the classpath, it can't see the rest of the
system from there, hence the other errors you report.
Regards,
Adrian
>From: "Eric Kaplan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: RE:
You can create a classpath extension for a directory
in jboss.conf.
Just put a '/' on the end of the url and don't put
any jars or zips in the directory.
Regards,
Adrian
>From: "Eric Kaplan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>CC: <[EMA
> > 2) Log4j
> > The best way to do logging for a bean (at the moment)
> > private static final Category log = Category.newInstance(MyClass.class);
> >
>
>The following accomplishes the same thing, and can be cut and pasted from
>one source to the next.
>
>private static final Category log =
>
[Guy Rouillier]
> > 2) Log4j
> > The best way to do logging for a bean (at the moment)
> > private static final Category log = Category.newInstance(MyClass.class);
> >
>
> The following accomplishes the same thing, and can be cut and pasted from
> one source to the next.
>
>private static fi
> 2) Log4j
> The best way to do logging for a bean (at the moment)
> private static final Category log = Category.newInstance(MyClass.class);
>
The following accomplishes the same thing, and can be cut and pasted from
one source to the next.
private static final Category log =
Category.getIns
here is no jar to
copy to lib/ext. what should we do in this case?
thanks
eric
-Original Message-
From: Adrian Brock [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 1:43 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] logging and admininstration
H
ce
for this?
Thanks
Eric
-Original Message-
From: Adrian Brock [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 1:43 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] logging and admininstration
Here's some short answers.
1) Stop on error
JBoss i
by developers when they should have been using jboss.jcml for
configuration.
Regards,
Adrian
>From: "Eric Kaplan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: [JBoss-user] logging and admininstration
>Date: Mon, 18 Feb 2002 12:25:27 -0500
>
>Thre
Three questions:
1. Typically, we bring up the application server and eyeball the output for
obvious errors, which are one of three typically:
- Cannot bind to the required port, usually because a jboss instance
is already running
- Cannot create one or more db pools, usually beca
y support would have
to be provided as an optional patch.
Regards,
Adrian
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: RE: [JBoss-user] Logging with JBoss ...
>Date: Tue, 22 Jan 2002 16:47:43 -0200
>
>What about the new java.util.logging.* APIs?
On Tue, Jan 22, 2002 at 06:31:22PM +, Adrian Brock wrote:
> To selectively turn on debug for your classes add something like
> the following to $JBOSS_HOME/conf//log4j.properties
>
> log4j.category.your.package.name=DEBUG
> or
> log4j.category.your.package.name.OneClass=DEBUG
>
> I assum
Title: RE: [JBoss-user] Logging with JBoss ...
What about the new java.util.logging.* APIs? We're using them and they look just like log4j. Have you heard of any plans JBOSS logging infrastructure moving to these APIs in the future?
Rodrigo
-Original Message-
From: Peter
L PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [JBoss-user] Logging with JBoss ...
>Date: Tue, 22 Jan 2002 19:09:28 +0100
>
>
>Thanks for your prompt answer!
>
>On Tue, Jan 22, 2002 at 05:51:29PM +, Adrian Brock wrote:
> > You are going to hit problems here.
Thanks for your prompt answer!
On Tue, Jan 22, 2002 at 05:51:29PM +, Adrian Brock wrote:
> You are going to hit problems here.
I already hit some ;-) Instead of tilting windmills I really should use
the internal JBoss logging infrastructure. I hope there's a way to configure
logging priorit
universe.
IMHO it is not the application's job to configure logging. This
should be the responsibility of the deployer with help from the server.
Regards,
Adrian
>From: Peter Sojan <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [JBoss-user] Logging with JBoss ...
>Date:
Ok! I´m done. I have no glue where so search for more information.
I dont know how to do logging with Log4j in JBoss.
Following questions:
- where do I have to put my OWN log4j jars in the ejb-jar file !?
- how will JBoss classloader find them !?
- how can I configure a boot-strap class which
ng
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Adrian Brock
Sent: Saturday, January 19, 2002 9:21 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Logging
Hi Eric,
We have not hacked log4j.
The Log4jService extends log4j using mech
cannot load classes from
a child classloader.
Regards,
Adrian
>From: "Eric Kaplan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: RE: [JBoss-user] Logging
>Date: Sat, 19 Jan 2002 20:10:49 -0500
>
>is the implicat
PROTECTED]
Subject: RE: [JBoss-user] Logging
Hi,
Don't add it to the classpath in run.bat/run.sh, it is already in lib/ext
If you put it in the classpath org.jboss.logging can "see"
org.apache.log4j but the reverse is not true, hence your error.
Your bean should be able to see the log4
>From: "Eric Kaplan" <[EMAIL PROTECTED]>
>To: "Scott M Stark" <[EMAIL PROTECTED]>,
><[EMAIL PROTECTED]>
>Subject: RE: [JBoss-user] Logging
>Date: Sat, 19 Jan 2002 18:08:10 -0500
>
>although i've had some trouble adding log4j to my jbos
rk" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, January 19, 2002 6:08 PM
Subject: RE: [JBoss-user] Logging
> although i've had some trouble adding log4j to my jboss classpath. when i
> do, something nasty happens and i get the following stack... should i
just
&g
TECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott M
Stark
Sent: Saturday, January 19, 2002 3:23 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Logging
Use log4j. The Logger is just a wrapper on top of log4j that adds support
for a custom TRACE priority used to allow for high frequency mes
log4j is the standard logging mechanism.
- Original Message -
From: "Jozsa Kristof" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 19, 2002 2:14 PM
Subject: [JBoss-user] Logging
> Hi,
>
> got quickshot question here - what's t
-
From: "Jozsa Kristof" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 19, 2002 11:14 AM
Subject: [JBoss-user] Logging
> Hi,
>
> got quickshot question here - what's the most preferred way to use logging
> from my own beans? I don't
Hi,
got quickshot question here - what's the most preferred way to use logging
from my own beans? I don't need anything funky, just something smarter then
System.out.println..
I've did a lil' search, and found org.jboss.logging.Logger. Shall I use it's
log() or debug() function, or is that anyth
O ok got it, RTFE
You have to declare categories as:
log4j.category.NameOfTheCategory
Cheers,
Vladimir
On 2001.07.07 20:30 Vladimir Blagojevic wrote:
> Hey there,
>
> How do you log different categories to different files? Couldn't find it
> log4j doco so I am guessing here.
>
> I tried decl
Hey there,
How do you log different categories to different files? Couldn't find it
log4j doco so I am guessing here.
I tried declaring the following in log4j.properties:
log4j.NameOfTheCategory= DEBUG, NameOfTheCategoryFileLog
log4j.appender.NameOfTheCategoryFileLog=org.apache.log4j.FileAppe
** Logging in J2EE/EJB world
* Overview
The needs and scenarios in a distributed computing environment are very
different from desktop computing. Server programs must be available 24 x 7
and you can not assume your server is monitored by human all the time. So,
server progra
** Logging in J2EE/EJB world
* Overview
The needs and scenarios in a distributed computing environment are very
different from desktop computing. Server programs must be available 24 x 7
and you can not assume your server is monitored by human all the time. So,
server progra
SuperLogging of Super from www.acelet.com will give your more that that.
It is free for jBoss users.
--- fractals <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it possible to get logging information "on demand" ? That is: I would
> like to get logging information and than maybe reboot my system (or al
Hi,
Is it possible to get logging information "on demand" ? That is: I would
like to get logging information and than maybe reboot my system (or allow it
to crash), and then get a conduit to my app server (JBoss) again to get more
info, and so on...
I guess this must be a very obvious request, b
I'm running JBoss-2.2.1 with embedded Tomcat 3.2.1 in a Windows 2000
environment and I'm having problems with logging.
Logging of the JBoss activity works just fine until the first invocation
of a Tomcat web app is made. After the first few messages appear in the
(jboss) server.log file, that fi
Check out the log4j documentation at Jakarta
http://jakarta.apache.org/log4j/docs/documentation.html
Vinay
- Original Message -
From: "Ralf Purnhagen" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 9:39 AM
Subject: [JB
Hi!
I want to change the format of the Logfile. Where can i find some
information about the format strings (default is [{2}] {4})?
Thank you,
Ralf
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Try SuperLogging. It is free for jBoss users.
Try SuperLogging of Super from http://www.acelet.com.
It is free for open source (Jonas, jboss and j2ee-ri).
Evaluation edition is free for other servers.
SuperLogging is a full-featured logging tool:
* It is a centralized logging, guaranteed tobe
the logging configuration from the default?
>
> - Original Message -
> From: "Bojan Smojver" <[EMAIL PROTECTED]>
> To: "JBoss User" <[EMAIL PROTECTED]>
> Sent: Friday, May 04, 2001 6:24 AM
> Subject: [JBoss-user] Logging
>
> >
the Log4j stuff (I didn't try it yet, but I've read it's in the JBoss
distribution)...
> -Original Message-
> From: Bojan Smojver [mailto:[EMAIL PROTECTED]]
> Sent: Freitag, 4. Mai 2001 15:24
> To: JBoss User
> Subject: [JBoss-user] Logging
>
>
t;JBoss User" <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 6:24 AM
Subject: [JBoss-user] Logging
> A really simple and probably a really stupid question too: how do you
> make the System.out and System.err be redirected to server.log or any
> other file? All the System.out.pri
A really simple and probably a really stupid question too: how do you
make the System.out and System.err be redirected to server.log or any
other file? All the System.out.println calls from within EJB's go
nowhere for me...
Config:
- RH Linux 7
- Sun JDK 1.3.0_02
- JBoss 2.2.1
Thanks,
Bojan
___
83 matches
Mail list logo