refactor(logging): better back-end logging