Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Abstracts logging client from underlying logging utility.
  • Dynamically enables/disables logging level at run time.
  • Provides logging format that complies with the existing OCAP format (e.g. <timestamp> [mod=*, level=*]).
  • Controls log level independently for each component/module.
  • Enables logging globally via single configuration value.
  • Controls initial log level for each component/module from configuration file (debug.ini) at startup.
  • Prints formatted data to stdout.
  • Separates logs into separate files based on "SEPARATE.LOGFILE.SUPPORT" configuration variable

Architecture

Gliffy Diagramdrawio
diagramName
macroId1327e0d6-e2a7-4fdd-bcc4-4541797e184d
nameRDK_LOGGER_ARCHITECTURE.drawio
pagePinrevision21


Log4c – Introduction & Terminology:

...

the script uploadSTBLogs.sh is responsible for uploading the logs to the server. Logs are uploaded as tar files with sufficient information like Mac ID, date , timestamp. Log can be uploaded to server using scp or tftp protocol as per server requirement.

draw.io Diagram
diagramNameRDK Log upload Process.drawio
Image Removed
revision1

API Documentation 

 To know more about SoC/Application level APIs details use in RDK, refer the link  RDK LOGGER API Documentation