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 Diagnostic Logs

LightWave Server Diagnostic 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 Diagnostic Logs. This can be useful when the Console is not available to review Diagnostic logs.

Listing Diagnostic Logs

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

LWSCOM 7-> help info diaglog
 
INFO DIAGLOG Command
 
Displays information about DIAGLOGs in the filesystem
 
  INFO DIAGLOG <diaglog-spec>
       [ , DETAIL ]
       [ , LCT ]
 
<diaglog-spec>
 
  The name of the DIAGLOG. 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 8-> info diaglog *
Name
-------------------------------------------------------------------------------
lw-test-suite-io.example-service.v1-20261109-000000
 
--- 1 DIAGLOGs -- 0.02 MB
LWSCOM 9-> info diaglog lw-test-suite-io.example-service.v1-20261109-000000, detail
Name..................... lw-test-suite-io.example-service.v1-20261109-000000
Size..................... 31647 bytes
Created.................. 2026-11-09T16:31:10Z
Modified................. 2026-11-09T16:59:53Z

Exporting Diagnostic Logs

The syntax for the LWSCOM EXPORT DIAGLOG command is:

LWSCOM 10-> help export diaglog
 
EXPORT DIAGLOG Command
 
Exports a DIAGLOG from the fileystem into a file
 
  EXPORT DIAGLOG <diaglog-spec>
         , FILE <file-name> [ ! ]
 
<diaglog-spec>
 
  The name of the DIAGLOG. It may contain '*' wildcards to represent zero or
  more omitted characters
 
FILE <file-name> [ ! ]
 
  File to receive exported DIAGLOG definition.

For example:

LWSCOM 11-> export diaglog *, file mydlog
1 DIAGLOG(s) exported to $DATA.LWSEXPO.MYDLOG

MYDLOG is written as an EDIT-type file.

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