better logging, make config reload work