# derby.locks.monitor

#### Function

Specifies that all deadlock errors are logged to the error log. If derby.stream.error.logSeverityLevel is set to ignore deadlock errors, derby.locks.monitor overrides it.

#### Default

False.

#### Example

    -- system property
    derby.locks.monitor=true

    CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(
        'derby.locks.monitor', 'true')

#### Dynamic or static

Dynamic; the change takes effect immediately. For information about dynamic changes to properties, see Dynamic or static changes to properties.

Parent topic: Derby properties
Related reference
derby.authentication.ldap.searchAuthDN
derby.authentication.ldap.searchAuthPW
derby.authentication.ldap.searchBase
derby.authentication.ldap.searchFilter
derby.authentication.provider
derby.authentication.server
derby.connection.requireAuthentication
derby.database.defaultConnectionMode
derby.database.forceDatabaseLock
derby.database.fullAccessUsers
derby.database.propertiesOnly
derby.database.readOnlyAccessUsers
derby.database.sqlAuthorization
derby.infolog.append
derby.language.logQueryPlan
derby.language.logStatementText
derby.locks.deadlockTimeout
derby.locks.deadlockTrace
derby.locks.escalationThreshold
derby.locks.waitTimeout
derby.storage.initialPages
derby.storage.minimumRecordSize
derby.storage.pageCacheSize
derby.storage.pageReservedSpace
derby.storage.pageSize
derby.storage.tempDirectory
derby.stream.error.field
derby.stream.error.file
derby.stream.error.method
derby.stream.error.logSeverityLevel
derby.system.durability
derby.system.home
derby.user.UserName