config: improve parse errors
logs: embed the mutex in the struct
logs: remove commented code
logs: completely disable logging downloads if LogDir is not set
logs: do not reload the config when reloading logs