How to capture byteman logging if System.out logging is disabled?

Solution Unverified - Updated -

Issue

  • We need to use byteman to troubleshoot issues at runtime. For this, we have developed some byteman rules, which use System.out.println("...") calls to log the desired information. This works fine in our development environment.
    In our production environment, however, the logging of System.out is disabled, as per the instructions from 1.

  • How can we change our byteman rules to log to a file, or use a logging framework?

Environment

  • Red Hat JBoss SOA Platform
    • 5.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content