Refactor log command's handling of repo and channel

Created by  dblsaiko  on March 29, 2024
3FNRS6MWYYKFO2IX5WVUFIXKPSTRKQEHMPCYZVMNXGN33KWV2XNAC
Change contents