Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

?
sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
^
Forum Index » Avaya Orchestration Designer » Break the trace.log in separete log files   XML
 
Author Message
Raphael1001fly



Joined: 20/08/2020 16:26:56
Messages: 15
Offline

Hello friends,

Is it possible to break the trace.log or generate a separeted log file of the call by id of the call in other folder only with the ERROR lines, for exemple

/usr/local/tomcat/version/apache-tomcat-7.0.59/webapps/APP/data/trace.log

call 1
FTP_SERVER/data/id_call1.log
call 2
FTP_SERVER/data/id_call2.log
call 3
FTP_SERVER/data/id_call3.log
call 4
FTP_SERVER/data/id_call4.log

if yes, how could I do that, I need to do it by the ddlog4j.properties file, if yes how?


The reason is that we want to creat a webpage the when we put the id of the call, the web page shows the information inside the file of that call in special...

Do you understand?

Thanks in advance, I will be glad if someone had a solution for this or a made code to share..

Hugs :)

WilsonYu



Joined: 06/11/2013 14:29:24
Messages: 3836
Online

It can't be done. I would just use an editor such as TextEdit or TextPad to parse it.
Raphael1001fly



Joined: 20/08/2020 16:26:56
Messages: 15
Offline

Thanks for the answer Wilson.

It would be perfect if there is a way in java to access this file, read the call id of the trace.log and save it as another log file in another folder, my question is have a Java script to to that.
 
 
Go to: