Rate This Document
Findability
Accuracy
Completeness
Readability

Collecting Logs

Logs record the running status of the system and the processing of functional processes. Logs help maintenance personnel check the system status and locate faults. You can use the log collection function to export OmniData logs to the local host.

Collecting Latest Logs

Use the file transfer function of the service flow to export the server log files to the local host. The omnidata-server.log file in the selected OmniData log directory is collected to a local directory. The log directory is /home/omm/omnidata-install/omnidata/log/omnidata-server.log.

Collecting All Logs

  1. Pack log files.

    If you need to download all log files, pack the log directory and then use SmartKit to collect logs. In Table 1, /home/omm/omnidata-install/omnidata/log is the log directory of the OmniData service. Replace it with the actual one.

    Table 1 Task 1 parameters

    Parameter

    Description

    Task Name

    Packing the log directory

    Task Description

    Packaging OmniData logs

    Run Directory

    /home/omm/omnidata-install/omnidata/log

    Run Command

    tar -zcvf log.tar.gz *

  2. Download the log package.

    In Table 2, the remote path is /home/omm/omnidata-install/log/log.tar.gz.

    Table 2 Task 2 parameters

    Parameter

    Description

    Task Name

    Download the log package.

    Task Description

    -

    Transfer Direction

    From Remote to Local

    Local Path

    Local directory

    Remote Path

    /home/omm/omnidata-install/log/log.tar.gz