|
Right Java tools for J2EE, Web Service, Grid and more |
| |Home | Products | Documents | Downloads | Purchase | Support | Company | Partners | Contact | |
Tracer: Displays the Tracer Panel. A Name Tracer Panel will pop up for you to specify a name, before a Tracer Panel appears.
Log Database: Displays the Log Database Panel.
Dump: Displays the Dump Panel.
About: Displays version number and license information.
This panel allows you to dump messages from the log database to a file.
There are three sections on this panel:
File name: The file name to dump to.
Browse: Displays a JFileChooser window for you to choose a file name for dumping.
This panel allows you to specify information to filter unwanted log records. It will automatically pop up when needed.
Where: The where clause you want to use when log records are selected. The word "WHERE" is optional. If you do not give it, SuperTracer will add it. The information about period is specified in the Period Panel. You do not need to specify information about time period here.
The Period Panel allows you to specify the log period you are interested in.
SuperTracer will combine From and To of the Period Panel with Where to generate a real where clause to select log records. The real where clause will be displayed on the Filter field of Tracer Panel.
This panel allows you to specify log database parameters.
Driver: The log database driver name. The class or jar file must be on the CLASSPATH of your J2EE server.
Note: If you change it to different database, you need to put the new driver file on the CLASSPATH when you start you application server.
URL: The log database URL.
User: The log database user name. If you use default database, do not change User. If you use other database than the default database, the User is assigned by your database administrator. You can not create a new user from this panel.
Password: The password for the log database User. This is the password associated with User already set in the log database. You can not create new password from this panel. The password will not show literally. But when it is saved literally. If you have security concerns, do not save password.
Save all: Saves all parameters, including User and Password.
Save basic: Saves all parameters, except User and Password.
Note: The password will not show literally. But it is saved literally. If you have security concerns, do not save.
This panel allows you to set database parameters. The default database
is HypersonicSQL. If you need to use a different database, please contact us.
Name: The name of your new Tracer Panel. You can specify any name
which is meaningful to you.
This Panel allows you to specify preference for the Tracer Panel.
Highlighting panel is for specify colors of syntax highlighting.
Type: The type of log.
Column: The column of the log record. See Column for the definition.
Color: The color for the column.
Set Color: Brings a JColorChooser for you to choose a color.
Ok: Closes this panel and saves selected choices. If the color change is for the current log type, the Tracer Panel will be repainted according to the new colors.
Cancel: Closes this panel and ignore all changes.
This panel displays the source code for the selected log message on the Trace Panel. The source code can be in Java, JSP or other languages.
The source code file must be registered on the source path. See the Source Path Panel for more information.
When you click a file name in a log messages on the Trace Panel, the Source Code Panel will display the source code. The line of the source file in question will be marked and highlighted. The file name must be in the correct format, either produced by SuperLogging or stack trace of Java.
Note: The information about the file
name and line number in the log message must be correct.
Otherwise, this panel can not find it, can not mark it. See Log
methods for related information.
The source path is the directories in which SuperTracer finds source code files. When you open the Tracer Panel and click on a file name of log messages, the Source Code Panel will find the source code file on the source path and show the source code. If Tracer Panel can not find the source code file, it will not do anything.
Add: Displays a JFileChooser window for you to choose a directory and add it on the source path.
Remove: Removes the highlighted directory on the list from the source
path.
This panel shows log information with syntax highlighting. It provides tracing facility as well.
This is a JInternalFrame: you can open as many Tracer Panels as you like, to work on different part of the same file or different files as the same time.
When you click a file name and line number of log messages on the Tracer Panel, the corresponding Source Code Panel will pop up and the line in question in the source code file will be marked and highlighted. But, if the line number is not available, no line will be marked on the Source Code Panel. See Source Code Panel for details. Also see Log methods for related information. The source file can be a Java class file, a JSP file or a file written in other languages. If the source code file can not be found, Tracer Panel will do nothing.
It supports the following log sources:
The menu bar is on the top. It contains the following menus:
File menu:
Source path menu: Displays the Source Code Panel, so you can add or delete a path for source code files. If the source file is not registered on the source path, the source code can not be found and will not be shown.
Preference menu: Displays the Preference Panel.
Close menu: Close this panel and remember the size of this panel, so next time this panel will be in the size remembered.
The information panel is the next. It contains:
Log: Information about the content shown. It can be any one of the following:
The field is read only. You can click on it and use arrow keys to scroll it.
Filter: The where clause of the filter.
The field is read only. You can click on it and use arrow keys to scroll it.
The main area is in the middle. It is the content of the log records.
The Search Panel is at the bottom. It contains the following options:
Search: Finds the next match. Press Control-s will do the same as click on the button. But the focus must be on the main area.
What: The text you want to find.
Direction: The direction you want the search goes from the caret position.
Algorithm: The mechanism the search facility use. It can be any of the following:
The Tracer Panel shows log records literally, with the following notes: