
Sometimes, many WF_LOG_* files are created under the directory /sapmnt/[SID]/global. After some time, these files can become too many and use a lot of space. Because of this, the /sapmnt/[SID] file system may become full. This issue can happen when the workflow trace and SCOT trace/logging are activated.
To avoid this issue, you should check and clean up the WF_LOG_* files regularly.
Solution
First, you have to switch off the workflow trace and the SCOT trace.
- Turn off the workflow trace using the transaction code SWF_TRC

- Open transaction SCOT and from the top menu, go to Utilities -> Trace settings

Now, you can proceed to delete the trace files from your SAP system.
- Use transaction code SWF_TRC. From the top menu, go to Trace and choose Delete.

- Run the report RSWTTR02 using transaction code SE38. You may also schedule this report to run periodically so that the workflow trace can be deleted automatically on a regular basis.

- Finally, if you still notice WF_LOG_* files remaining, you can delete them directly from the operating system level. Please visit SAP Note 1574038 – Build up of WF_LOG_* files in directory /sapmnt/SID/global for more information.



