Optional batchOptional batch separator to emit after each statement (e.g., "GO" for SQL Server)
Optional defaultOptional default schema name to use for Flyway migrations for replacing schema names with the placeholder ${flyway:defaultSchema}
Optional descriptionOptional description to include as a comment at the start of the log
Optional filterOptional user ID to filter SQL logging - only log SQL executed by this user
Optional filterArray of patterns to filter SQL statements. Supports both regex (RegExp objects) and simple wildcard patterns (strings). How these patterns are applied depends on filterType.
String patterns support:
RegExp examples:
Optional filterDetermines how filterPatterns are applied:
Note: If filterPatterns is empty/undefined, all SQL is logged regardless of filterType.
Optional formatWhether to format output as a flyway migration file with schema placeholders
Optional logWhether to log record change metadata wrapper SQL (default: false). When false, only core spCreate/spUpdate/spDelete calls are logged
Optional prettyWhether to pretty print SQL statements with proper formatting
Optional retainWhether to retain log files that contain no SQL statements (default: false). When false, empty log files are automatically deleted on dispose
Optional sessionOptional friendly name for this logging session (for UI display)
Optional statementWhich types of statements to log: 'queries' (all), 'mutations' (only data changes), 'both' (default)
Optional verboseWhether to output verbose debug information to console (default: false)
Configuration options for SQL logging sessions