Enabling and disabling remote diagnostic logging for SIBus Intercept Mediator
To facilitate troubleshooting, HCL DevOps Test Virtualization Control Panel (Test Virtualization Control Panel) administrators can view, download, and share detailed log events information for SIBus Intercept Mediator. The capability to display this information in Test Virtualization Control Panel requires enabling remote diagnostic logging for the agent.
About this task
Test Virtualization Control Panel can display a diagnostic log that is a centralized view of log events of agents and proxies.
By default, remote diagnostic logging to Test Virtualization Control Panel is not enabled in SIBus Intercept Mediator.
To enable or disable remote diagnostic logging for SIBus Intercept Mediator, you must add a new logging configuration to the SIBus Intercept Mediator enterprise application.
Procedure
- Open the Integrated Solutions Console of IBM® WebSphere® Application Server.
- Click Application Servers window, click the server name link. . In the
- Under Server Infrastructure, expand Java and Process Management and click Process definition.
- Click Java Virtual Machine, and then click Custom properties.
-
Enter the logging configuration as shown in the following table:
Table 1. Custom properties for enabling and disabling remote diagnostic logging for SIBus Intercept Mediator to Test Virtualization Control Panel To: Do the following: Enable remote diagnostic logging at debug level to Test Virtualization Control Panel
Note: Available levels are error, warning, info, debug, and trace. TheJava.Util.Logging
(JUL) appender defaults to "level:debug" if level is not set, so all events are passed toJava.Util
and filtered there by the separate configuration.- Click New on the Custom properties page.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.net.NET
Value:
level:DEBUG
- Click Apply, OK, and click New again.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.jul.JUL
Value:
level:DEBUG
- Click Apply and OK.
Enable remote diagnostic logging at debug level to Test Virtualization Control Panel and specify the URL for the network log appender.
Note: Available levels are error, warning, info, debug, and trace. Instead of entering a specific URL, you can enterurl:auto
.- Click New on the Custom properties page.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.net.NET
Value:
url:http://<IP address or hostname>,level:DEBUG
- Click Apply, OK, and click New again.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.jul.JUL
Value:
level:DEBUG
- Click Apply and OK.
Enable remote diagnostic logging at debug level and internal logging to Test Virtualization Control Panel.
Note: Available levels are error, warning, info, debug, and trace.- Click New on the Custom properties page.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.net.NET
Value:
level:DEBUG
- Click Apply, OK, and click New again.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.jul.JUL
Value:
level:DEBUG
- Click Apply, OK, and click New again.
- Under General Properties, enter the
following:
Name:
greenhat.loginternal
Value:
appender
- Click Apply and OK.
Enable remote diagnostic logging at error or warning level to Test Virtualization Control Panel.
Note: Default remote log level is warning.Note: TheJava.Util.Logging
(JUL) appender is not present, so there will be no local file logging.- Click New on the Custom properties page.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.net.NET
Value:
level:WARNING
- Click Apply and OK.
Enable console logging at debug level and use detailed layout.
Note: If Java™ logging is not enabled, you might want to enable console logging. Console logging layout can be detailed, standard, or compact.- Click New on the Custom properties page.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.console.CONSOLE
Value:
layout:detailed,level:DEBUG
- Click Apply and OK.
Enable console logging at debug level, use detailed layout, and log internal framework events.
Note: Internal events will be sent to the console to help diagnose issues within the logging framework.- Click New on the Custom properties page.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.console.CONSOLE
Value:
layout:detailed,level:DEBUG
- Click Apply, OK, and clickNew again.
- Under General Properties, enter the
following:
Name:
greenhat.loginternal
Value:
console
- Click Apply and OK.
Disable all logging.
- Click New on the Custom properties page.
- Under General Properties, enter the
following:
Name:
greenhat.logappender.none
Value:NONE
Note: You can enter any value in the Value field because it will be ignored. - Click Apply and OK.
- In the Messages box, click Save.
-
Start the SIBus Intercept Mediator enterprise application by completing the following
tasks: