Refactor menor, se agregan niveles de logs