cancel
Showing results for 
Search instead for 
Did you mean: 

How to write Log files in Message Mapping

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi All,

In My Project We are using Traces in Development .

when my interfaces moving to Quality, Trace levl set to Zero.So its not possible to see the Trace Info

I developed some java maps and mesage maps.

in Java maps i written Log messages after executing Log file will store in FTP server.i can hansee Log messages in Java Maps

But i have to write Log file for Message mapping also.If any exception occurs to trace ..

anybody help me out how to achieve this.

thanks in Advance.

Regards,

Raja Sekhar

Accepted Solutions (0)

Answers (3)

Answers (3)

rajasekhar_reddy14
Active Contributor
0 Kudos

thaks

Former Member
0 Kudos

Hi Raja

You want to write logs from UDF? You can try with File Lookup but how problem is how to manage for all the message mapping nodes. Only UDF can raise exceptions to the nodes where it is used.

And it doesn't make sense to create Java map in sequence with Message map.

I think you cannot generate logs from message mappings.

Try using Java mapping for all if you have the requirement to generate logs.

Thanks

Gaurav

VijayKonam
Active Contributor
0 Kudos

you can not access file system from with in UDFs.

VJ