add log file/dir creation logic for all processes

@mozjcrowe r?