Set listeners and update logs