[cogenda-web] [skip ci] - Update log config & refactor code.