Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Logging exception with java.util.logging.Logger#log() to file only

807591Apr 2 2008 — edited Apr 3 2008
I'm logging exceptions with java.util.logging.Logger#log() (i can't use anything apart from standard Java API) and i don't want any stack trace to appear in stdout or stderr is there any way I can filter or redirect all output that is produced by this method into the file only?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2008
Added on Apr 2 2008
3 comments
5,456 views