12.10. LOG

【Debug Information】

# cat /proc/cvitek/log
-----CURRENT LOG LEVEL-------------------------------------------------------------------------
BASE               ( 4)
VB                  ( 4)
SYS                  ( 4)
RGN                ( 4)
CHNL              ( 4)
VDEC              ( 4)
VPSS               ( 4)
VENC              ( 4)
H264E            ( 4)
JPEGE        ( 4)
MPEG4E        ( 4)
H265E            ( 4)
JPEGD            ( 4)
VO                  ( 4)
VI               ( 4)
DIS          ( 4)
RC                  ( 4)
AIO                ( 4)
AI                   ( 4)
AO                 ( 4)
AENC        ( 4)
ADEC        ( 4)
AUD           ( 4)
VPU               ( 4)
ISP                 ( 4)
IVE           ( 4)
USER             ( 4)
PROC            ( 4)
LOG          ( 6)
H264D          ( 4)
GDC              ( 4)
PHOTO         ( 4)
FB                 ( 4)
-------------------------------------------------------------------------------------------------------------

【Analysis】

  • Record the current debugging level of each module.

  • cat /proc/cvitek/log is used to obtain the log level information of each module.

  • Modify log level:

    • To modify the debug level of a module, use the echo command, forexample:echo “VENC=4” > /proc/cvitek/log

    • Modify the debug level of all modulesecho “ALL=4” > /proc/cvitek/log

【Parameter Description】

Parameter

Decription

CURRENT LOG LEVEL

BASE/VB/SYS/RGN/

CHNL/VDEC/VPSS/VENC/

H264E/JPEGE/MPEG4E/

H265E/JPEGD/VO/VI/

DIS/RC/AIO/AI/AO/AENC/

ADEC/AUD/VPU/ISP/

IVE/USER/PROC/LOG/

H264D/GDC/PHOTO/FB

Module name, followed by the number of log print level.