More configurable options for logging and PID files.