Thanks for your faster answer, I'm sorry you are right.

But the Mlet I put in the email is not the correct one ....

My MLet is:

<MLET CODE = "org.jboss.logging.FileLogging" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
   <ARG TYPE="java.lang.String" VALUE="Information,Debug,Warning,Error">
   <ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
   <ARG TYPE="java.lang.String" VALUE="">
   <ARG TYPE="java.lang.String" VALUE="logging.log">
</MLET>

If you have another idea, let me know it ..... thanks.

Paolo.



----- Original Message -----
From: "Daniel Schulze" <[EMAIL PROTECTED]>
To: "jBoss Developer" <[EMAIL PROTECTED]>
Sent: Tuesday, October 10, 2000 6:24 PM
Subject: Re: [jBoss-Dev] Logging redirection.


> On Tue, 10 Oct 2000, Paolo Biondi wrote:
> >
> > Hi there,
> >
> > I have been trying to set my jBoss to make logging into a file. I
> > set, as it specified, my jboss.conf file with the proper MLet:
> >
> > <MLET CODE = "org.jboss.logging.ConsoleLogging" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
> >    <ARG TYPE="java.lang.String" VALUE="Information,Debug,Warning,Error">
> >    <ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
> >    <ARG TYPE="java.lang.String" VALUE="">
> >    <ARG TYPE="java.lang.String" VALUE="logging.log">
> > </MLET>
> >
>
> The aruments you specify in the Mlet are the arguments for the
> Constructor of the Mlet. Since there is only a constructor with two
> strings as parameters in the ConsoleLogging class, it is not possible
> to call a constructor with 4 arguments of type string like you do!
> HTH
>
> \Daniel


Reply via email to