Avoid a startup panic when no log directory is available and the sockstat logger is disabled by ts_omit_logtail. Fixes #22246 Change-Id: I06efea76cdaf6cda4b454dbede8cf2e69bbd588d Signed-off-by: Fredrik Fornwall <[email protected]>