Little work tonight on logs: max size, logging level and some refactors.