LightWave Server
1.3.1 1.3.0 1.2.1 1.2.0 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4
1.3.1 1.3.0 1.2.1 1.2.0 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4

Listing and Exporting HTTP Logs

LightWave Server HTTP Logs are stored in the LWS filesystem but can be exported to Enscribe disk files with LWSCOM. This subsection describes using LWSCOM to list and export LWS HTTP Logs. This can be useful when the Console is not available to review HTTP logs.

Listing HTTP Logs

The LWSCOM INFO command is used to retrieve information about the HTTP logs in a filesystem.

LWSCOM 12-> help info httplog
 
INFO HTTPLOG Command
 
Displays information about HTTP logs in the filesystem
 
  INFO HTTPLOG <http-log-spec>
       [ , DETAIL ]
       [ , LCT ]
 
<http-log-spec>
 
  The name of the HTTP log. It may contain '*' wildcards to represent zero or
  more omitted characters
 
DETAIL
 
  Causes detailed information to be displayed. The use of this parameter is
  object-specific.
 
LCT
 
  Causes time field to be displayed in Local Civil Time.

For example:

LWSCOM 13->info httplog *
Name
-------------------------------------------------------------------------------
ex20261109-000000
 
--- 1 HTTPLOGs -- 0.00 MB
LWSCOM 14-> info httplog ex20261109-000000,detail
Name..................... ex20261109-000000
Size..................... 820 bytes
Created.................. 2026-11-09T16:46:54Z
Modified................. 2026-11-09T16:59:53Z

Exporting HTTP Logs

The syntax for the LWSCOM EXPORT HTTPLOG command is:

LWSCOM 15-> help export httplog
 
EXPORT HTTPLOG Command
 
Exports one or more HTTP logs from the fileystem into a file
 
  EXPORT HTTPLOG <http-log-spec>
         , FILE <file-name> [ ! ]
 
<http-log-spec>
 
  The name of the HTTP log. It may contain '*' wildcards to represent zero or
  more omitted characters
 
FILE <file-name> [ ! ]
 
  File to receive the exported HTTP log(s).

For example:

LWSCOM 17-> export httplog *, file myhlog
1 HTTPLOG(s) exported to $DATA.LWSEXPO.MYHLOG

MYHLOG is written as an EDIT-type file.

Note that multiple HTTP logs may be written to the same file with the LWSCOM EXPORT HTTPLOG command.