Add a log system in the backend

Edited by Pedro Pablo Cardona Arroyave