Then to write to the second log you will need to write your own Layout and
parse out what you want from the message.
Ralph
On Nov 21, 2011, at 8:31 AM, Kikou1984 wrote:
>
> Hi ,
>
> thank u for u r anserw, I have to work with the existing log.
>
>
>
> ralph.goers @dslextreme.com wrote:
>>
>> Do you have the ability to modify the program or do you have to work with
>> the existing log that is being generated?
>>
>> Ralph
>>
>> On Nov 21, 2011, at 6:41 AM, Kikou1984 wrote:
>>
>>> Hello, I got a program , it uses log4J for creating log. Exemple :
>>> log.info("[SUIVI_TRT] [TrtStart : UPDATE_BORDERO]" + " [InputFile=" +
>>> args[2] + "] [ParamFile=" + args[1] + "] [OutputPath="+args[3]+"] [mode="
>>> +args[0]+"]" +"[XmlConfigMail =" + args[4] + "]"); I would like to create
>>> another Log, which contains only Log with this String "[SUIVI_TRT]". Is
>>> it possible ?!!
>>> View this message in context: Find word in log
>>> Sent from the Log4j - Dev mailing list archive at Nabble.com.
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Find-word-in-log-tp32870799p32871018.html
> Sent from the Log4j - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]