refactor all logs to be written in a custom channel with some debug informations