- Restructure & fix logs managing code.