Can I get the database name?

Hello!

If I got multiple Tamino databases, if they all write log info in the same file(for example using Server Extensions), is it possible to query them for there names?

Thank you.