Centralize logging + use file for urls.