next up previous
Next: Miscellaneous Information Up: CMLOG Documentation Version 2.x Previous: Sample Motif Browser: cmlog

Sample Java Swing Browser: Jcmlog

A Java Swing based browser is provided. It uses a different configuration file called .jcmlogrc in user home directory. The configuration file is a subset of the motif configuration file with exception of additional server information. The following is a sample configuration file.


# Configuration file for cmlog
# Name of this configuration
name HPC Test
# Type          Title          Tag          Width
Col    Facility     facility     80
Col    Host     host     73
Col    User     user     80
Col    Time     cmlogTime     177
Col    Status     status     77
Col    Severity     severity     75
Col    Error     code     81
Col    Object     process     75
Col    Message     text     353
# Buffer size for updating the message
ubufsize     2000
# Servers
server sysdevs1  hpcdev01  
port 8900   
protocol 2

The Java browser has most capabilities of the Motif browser. But it lacks of several features such as displaying colored fields, displaying strings for a set of integers and executing user scripts. These features will be added in future release. The Java browser can be used in either the Java WebStart or in command line. From command line it can be invoked as ``java cmlog.gui.Jcmlog'' after cmlog.jar file is appended to one's CLASSPATH environment variable.



Jie chen
2001-10-22