Versions Compared

Key

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

Hello,

 

There are two configuration files for RDK Logger, debug.ini and log4crc.

 

As I understand it, the debug.ini is the main configuration file for RDK Logger and it is intended to be used globally in multi-process environment.

So, it seems that only one debug.ini is necessary in the RDK systemwide.

 

However, it does not seem that the log4crc is intended to be used globally in the RDK systemwide since some log4c appenders are not supported in multi-process environment.

I think that the log4crc can be used globally when using "stream_env_append" or "syslog" appender, whereas it cannot be used globally when using other appenders such as "rollingfile", "stream_env".

Note that there is no way to limit the maximum size of file for "stream_env_append".

There are multiple IARM managers such as pwrMgr, irMgr, dsMgr and so on in the RDK and each manager is executed as a process.

Should we use multiple log4crc in the specific RDK platform? In other words, should we use the specific log4crc per each component with setting LOG4C_RCPATH differently for each process?

 

Thanks,

 

Junho