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