mkdir ./log if needed