FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.24k stars 212 forks source link

Add database name/reference to Firebird.log entries (as appropriate) [CORE5984] #6236

Open firebird-automations opened 5 years ago

firebird-automations commented 5 years ago

Submitted by: @pavel-zotov

Is duplicated by CORE5564

It will be useful to have name of database which was in work during error/warning raised:

SOME_COMPANY Wed Jan 09 18:12:30 2019 Modifying procedure SOME_PROC which is currently in use by active user requests

PS. 0xFF. Also, it wil be *great* to have ability to block appearance of client-related messages in server log; but AFAIU such ticket already exists.

firebird-automations commented 5 years ago

Commented by: Sean Leyne (seanleyne)

You are referring to Firebird.log messages/entries?

firebird-automations commented 5 years ago

Commented by: @pavel-zotov

Yes, exactly.

firebird-automations commented 5 years ago
Modified by: Sean Leyne (seanleyne) summary: Add name of database for every message which can relate to DB =\> Add database name/reference to Firebird\.log entries \(as appropriate\)
firebird-automations commented 5 years ago

Commented by: Maxim Kuzmin (cybermax)

See CORE5564

firebird-automations commented 5 years ago
Modified by: Sean Leyne (seanleyne) Link: This issue is duplicated by [CORE5564](https://github.com/FirebirdSQL/firebird/issues?q=CORE5564+in%3Atitle) \[ [CORE5564](https://github.com/FirebirdSQL/firebird/issues?q=CORE5564+in%3Atitle) \]
firebird-automations commented 5 years ago

Commented by: Sean Leyne (seanleyne)

Maxim proposed (in CORE5564) that the database be added to entries as follows:

SERVER (Server) Tue Nov 08 09:36:19 2016 Database: d:\database\work\database.fdb User: PETROV_AA INET/inet_error: read errno = 10054

SERVER (Server) Tue Nov 08 09:36:51 2016 Database: d:\database\test\database.fdb User: SYSDBA Modifying procedure OPER$CONNECT$CHECK_ACCESS which is currently in use by active user requests

SERVER (Server) Tue Nov 08 10:03:53 2016 Database: d:\database\work\database.fdb User: IVASHKIN_MA INET/inet_error: read errno = 10054