Replace rasdaman logging with easylogging
|Reported by:||gmerticariu||Owned by:||vzamfir|
|Keywords:||Cc:||pbaumann, mdumitru, atoader|
Description (last modified by dmisev)
Right now debugging info is produced in few different ways:
- RMDebug macros (RMDBGENTER, RMDBGEXIT, etc.), very complex and allow fine grained control, but seem somewhat broken
- ENTER/LEAVE/TALK - very simple, provide indentation, but only global control is possible
- The tile cache introduces TENTER/TTALK/TLEAVE which allow to turn on ENTER/LEAVE/TALK selectively only in the tile cache
- RMInit::logOut, RMInit::dbgOut - simple output to the log, no possibility to turn off, typically used for outputing warnings/errors and other important info
These should be harmonized into a single method, which is hopefully both powerful and simple.
The decision in this ticket is to substitute all these with easylogging, already used in rasnet.
The main arguments for using easylogging are the following:
- It provides thread safe logging.
- It can be configured at runtime by providing a configuration file.(e.g. log formats can be configured, log levels can be disabled if they are not of interest)
- It offers a range of different log levels.
- There is no clear documentation on what loggers are available in rasdaman and what capabilities they have.
Change History (15)
comment:1 Changed 2 years ago by gmerticariu
- Cc mdumitru added; adumitru removed
- Summary changed from Use already existing rasdaman loggin mechanism in rasnet to Use already existing rasdaman logging mechanism in rasnet
comment:6 Changed 23 months ago by dmisev
- Milestone set to 9.1
- Owner changed from gmerticariu to jzhang
- Status changed from new to assigned
comment:7 Changed 22 months ago by dmisev
- Description modified (diff)
- Owner changed from jzhang to vzamfir
- Priority changed from minor to major
- Type changed from defect to enhancement
comment:10 Changed 22 months ago by dmisev
- Summary changed from Use already existing rasdaman logging mechanism in rasnet to Replace rasdaman logging with easylogging