Include database name in console message (instead of undefined)

Before:

[LOG] DB opened: undefined

After:

[LOG] DB opened: database.db