The following troubleshooting information provides solutions for common problems with logging configuration.
Q. The application I need does not appear in the list of senders in the Add Message Sender dialog box.
A. First, make sure the message sender is running. Confirm that the message sender is from ALI version 6.0 or higher. Earlier versions do not support the logging name discovery feature. Then check the following:
If the message sender is running on a different machine, confirm that the sender is configured to allow remote spying. The message sender will have a logging configuration setting named restrictToLocalHost, or something similar. The value of this setting must be set to False to allow remote spying. For details, see the documentation for the message sender.
If the message sender is running on a machine on a different subnet, confirm that the network routers are configured to allow UDP multicast traffic between the message sender machine and the ALI Logging Spy machine.
If the message sender or ALI Logging Spy are running on a Microsoft Windows computer, the problem might be due to a known issue on some versions of the Windows operating system. The problem shows up when a Microsoft Windows computer has more than one network adapter installed. This is common if the Microsoft Windows computer has VM Ware installed. There are several workarounds:
Install an appropriate hotfix or service pack for the Microsoft Windows operating system. See the Microsoft support page for this issue at http://support.microsoft.com/?kbid=827536.
Alternatively, you can remove the additional network adapters. Disable the VMWare adapters. (Go to Control Panel | Network and Dial-Up Connections, right-click on each connection and disabling it.) Get the properties for your Local Area Connection and disable the VMWare Network Bridge.
Q. Where are the messages from my sender? ALI Logging Spy does not display messages from my application.
A. First, go through troubleshooting steps above. In ALI Logging Spy, check the filter settings for the message sender. By default, only Error, Warning, Fatal , and Action are enabled. It is possible that the log message sender is not sending any messages at those logging levels. Try enabling Debug and see if you receive any messages.
Q. How do I increase the amount of memory allotted to ALI Logging Spy?
A. ALI Logging Spy will collect and display log messages until it detects that it is running low on memory. At this point it will refuse to accept messages and will display an alert. This is true both when Spy is displaying messages that are streaming in, and when Spy is displaying messages from a .spy log file. To increase the amount of memory available to ALI Logging Spy, follow the steps below.
Windows:
Edit the ptspy.lap file located in PT_HOME/ptlogging/6.0/bin.
Locate the following
line: -Xmx256m
The number in this line defines the maximum megabytes of memory available to ALI Logging Spy (256 by default as shown above).
Set this number to the
desired level. As a first step we recommend doubling the number to 512
(-Xmx512m
).
Save the file and restart ALI Logging Spy.
Unix:
Edit the ptspy.sh file located in PT_HOME/ptlogging/6.0/bin.
Locate the following
line: JAVA_MEM_OPTS="-Xms32m -Xmx256m"
The second number indicates the maximum megabytes of memory available to ALI Logging Spy (256 by default as shown above).
Set this number to the
desired level. As a first step we recommend doubling the number to 512
(JAVA_MEM_OPTS="-Xms32m -Xmx512m"
).
Save the file and restart ALI Logging Spy.
Q. Where are the messages from my sender? ALI Logger is not recording messages from my message application.
A. First, go through troubleshooting steps under the first question above. If you are not receiving any messages in a log file from a given message sender, make sure that the ALI Logger Service/Daemon is running. Check the ALI Logger internal diagnostic file at [install-directory]/ptlogging/logs/ptlogger.out. You should see messages of the form "Starting the Plumtree Logger service...", "--> Wrapper Started as Service","OpenLog: verbosity level = 2", "Plumtree Logger: Successfully read configuration file at: C:\Program Files\Plumtree\ptlogging\6.0\bin\..\..\..\settings\ptlogging\ptLogger.xml".
Check the ALI Logger configuration file: [install-directory]/settings/ptlogging/ptLogger.xml. Make sure that there are appropriate <filters> and <appender> nodes in the configuration file for the message sender from which you are trying to receive messages. See Configuring Logging Receivers : ALI Logger for more details.