cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Log file issue

Former Member
0 Kudos

Hi all,

currently I am developing Adapter module, where I have used System.err.print() statement. But I couldn't see output message of above print statement in defaultTrace.trc. What could be the reason? or I should have used another statement to print the message in log file.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

System. messages will print only on the system. They will not write any entries onto the log file. if you want to write entries on to the log file, create an exception e and try e.printStackTrace. You can also use FileHandler of the logging class provided by Java.

reward if helpful.