Description of problem: There are currently several problematic coding practices regarding the logger: 1 - Code duplication of "log_levels" array 2 - static methods are not declared at the begging of the .c file 3 - Unused structs are defined in the .c file This issues should be addressed in order to improve readability and maintainability. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: https://review.gluster.org/23611 (libglusterfs/logger - code cleaning) posted (#1) for review on master by Barak Sason Rofman
REVIEW: https://review.gluster.org/23611 (libglusterfs/logger - code cleaning) merged (#8) on master by Amar Tumballi