Datasource validation logging

We’re defining our datasources in Application.cfc, with the validate setting set to false.

With debug logging on during development, I’ve noticed the following quite regularly, even when queries aren’t being run:

[INFO ] runwar.context: 2025-03-20 20:44:15 DEBUG datasource:134 - -1 -1 - activate datasource connection: my_datasource_name
[INFO ] runwar.context: 2025-03-20 20:44:15 DEBUG datasource:134 - -1 -1 - validate datasource connection: my_datasource_name

Is this the datasource being validated? Or does this have to do with the datasource pool being validated (as controlled by the LUCEE_DATASOURCE_POOL_VALIDATE setting)?

Just want to make sure that I understand what’s going on. Thanks!

Don’t forget to tell us about your stack!

OS: MacOs Sequoia (15.3.2)
Java Version: AdoptOpenJDK 11.0.11+9
Lucee Version: 6.2.1+77

These are methods called by apache commons-pool, running house keeping on the datasource connection pool

1 Like

Thanks so much for clarifying!