Name

.log — Turn logging on or off

Common Usage

.log (filename|stdout|stderr|off)

Description

The .log command designates an output file for messages sent to sqlite3_log(). The SQLite library logs most error conditions, to assist with debugging. Custom extensions (including custom SQL functions, collations, and virtual tables) may also log messages.

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.