Adjust process log buffer

The process log buffer controls how much log data is stored in memory before writing to disk. The log buffer size is 10,000 by default. Setting the log buffer to a lower number can cause more time spent with file (I/O), which results to a slower performance. However, setting the number too high can cause a loss of log data if the system crashes. Therefore, for each process you design, determine the balance between file writing and performance.