remove format constants from logger, cleanup brokerproxy