Modified system procedures

The following system procedures have been modified to support the expanded error logging feature by using the with_log parameter: