[Content][Listeners][LogListener]: Log only when the database is connected.