on 07-12-2007 1:04 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.