SIGN IN SIGN UP

msg: make --log-file and --dump-stats accept config path expansion

Seems like a valid use-case. Not sure if I like it calling back into the
config code. Care has to be taken for not letting the config path
resolving code dead-lock (which is why locking details in the msg.c code
are changed).

Fixes #3591.
W
wm4 committed
ef2bbd5a7ad2a85c3bb41b5813ad601a88b8c8e2
Parent: 73a5bde