IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Advanced development topics > Customize behavior with visual snippets > Create a custom visual snippet
Setting trace logging
Automatically log all messages from the print to logger visual snippet by setting and turning on trace logging.
Procedure
To set and turn on trace logging:
- See the Selecting a standard visual snippet topic for information on the print to logger visual snippet.
- On the server set the following:
java.util.logging.Logger l = java.util.logging.Logger.getLogger("com.ibm.bpe.generated"); if(l.isLoggable(java.util.logging.Level.FINE)) { l.log(java.util.logging.Level.FINE, "This is a message");}