Thanks a lot Guys,

Smiles,
Asif


On 3/7/07, Jacob Kjome <[EMAIL PROTECTED]> wrote:

Quoting Asif Mekrani <[EMAIL PROTECTED]>:

> Hi Group,
>
> Please can you tell me how to use the names logger. means :
>
> Usually we use a class name for the logger name, eg:
>
> private static Log logger = LogFactory.getLog(MyClass.class);
>
> but wat if, I want to use a string name instead of the class name , i.e.
>
> private static Log logger = LogFactory.getLog("MY_LOGGER_NAME");
>
> and how to specify the same in the log4J.xml file.
>

<logger name="MY_LOGGER_NAME">
...
</logger>


Jake

> TIA.
>
> Smiles,
> Asif
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to