The trace writer task writes the appropriate log file for a database trace. It is a task in the user kernel thread.
See also:
Concepts of the Database System, Overview of Tasks