Technical data

A Using the WebLogic Java Utilities
A-14 Administration Guide
logToZip
The logToZip utility searches an HTTP server log file in common log format, finds
the Java classes loaded into it by the server, and creates an uncompressed .
zip file that
contains those Java classes. It is executed from the document root directory of your
HTTP server.
To use this utility, you must have access to the log files created by the HTTP server.
Syntax
$ java utils.logToZip logfile codebase zipfile
Examples
The following example shows how a .zip file is created for an applet that resides in
the document root itself, that is, with no code base:
$ cd /HTTP/Serv/docs
$ java utils.logToZip /HTTP/Serv/logs/access "" app2.zip
The following example shows how a .zip file is created for an applet that resides in a
subdirectory of the document root:
C:\>cd \HTTP\Serv
C:\HTTP\Serv>java utils.logToZip \logs\applets\classes app3.zip
Argument Definition
logfile
Required. Fully-qualified pathname of the log file.
codebase
Required. Code base for the applet, or "" if there is no code base. By
concatenating the code base with the full package name of the applet, you
get the full pathname of the applet (relative to the HTTP document root).
zipfile
Required. Name of the .zip file to create. The resulting .zip file is
created in the directory in which you run the program. The pathname for
the specified file can be relative or absolute. In the examples, a relative
pathname is given, so the
.zip file is created in the current directory.