Allow users to override logical name of channel.
Add debug logging.