See the 'Logging' subsection in the Watchdog section.