Rate This Document
Findability
Accuracy
Completeness
Readability

Querying KAE Logs

This section describes how to query logs so that you can accurately locate and analyze the root cause of a fault.

Table 1 lists log information related to KAE.

Table 1 Log information

Directory

File

Description

/var/log/

kae.log

The default level of OpenSSL engine logs is "error".

To set the log level, perform the following steps:

  1. Set the environment variable.
    1
    export KAE_CONF_ENV=/var/log/
    
  2. Create a kae.cnf file in /var/log/.
  3. In the kae.cnf file, configure the content as follows:
    [LogSection]
    debug_level=error

    The value of debug_level can be none, error, info, warning, or debug. In normal cases, you are advised not to enable the info or debug log level. Otherwise, the accelerator performance will deteriorate.

/var/log/

kaezip.log

By default, KAEZlib library logs are not printed.

To set the log level, perform the following steps:

  1. Set the environment variable.
    1
    export KAEZIP_CONF_ENV=/var/log/
    
  2. Create a kaezip.cnf file in /var/log/.
  3. In the kaezip.cnf file, configure the content as follows:
    [LogSection]
    debug_level=error 

    The value of debug_level can be none, error, info, warning, or debug. In normal cases, you are advised not to enable the info or debug log level. Otherwise, the accelerator performance will deteriorate.

/var/log/

kaezstd.log

By default, KAEZstd library logs are not printed.

To set the log level, perform the following steps:

  1. Set the environment variable.
    1
    export KAEZSTD_CONF_ENV=/var/log/
    
  2. Create a kaezstd.cnf file in /var/log/.
  3. In the kaezstd.cnf file, configure the content as follows:
    [LogSection]
    debug_level=error 

    The value of debug_level can be none, error, info, warning, or debug. In normal cases, you are advised not to enable the info or debug log level. Otherwise, the accelerator performance will deteriorate.

/var/log/

kaelz4.log

By default, KAELz4 library logs are not printed.

To set the log level, perform the following steps:

  1. Set the environment variable.
    export KAELZ4_CONF_ENV=/var/log/
  2. Create a kaelz4.cnf file in /var/log/.
  3. In the kaelz4.cnf file, configure the content as follows:
    [LogSection]
    debug_level=error 

    The value of debug_level can be none, error, info, warning, or debug. In normal cases, you are advised not to enable the info or debug log level. Otherwise, the accelerator performance will deteriorate.

/var/log/

message/syslog

  • Kernel logs of OSs such as CentOS, SUSE, and EulerOS are stored in the /var/log/message directory.
  • Kernel logs of OSs such as Ubuntu are stored in the /var/log/syslog directory.

    Alternatively, you can run the dmesg > /var/log/dmesg.log command to collect driver and kernel space logs.