put logs to logs directory + -p for the mkdir commands