[base-files] allow specifying port where to log (#2019)