create log directory on ubuntu too

log_dir is not created on ubuntu because of platform case, took it outside of platform_family block