[QFJ-75] Make table names for JdbcLog configurable Created: 23/Sep/06  Updated: 02/Jun/09  Resolved: 13/Jul/07

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.0.3
Fix Version/s: 1.3.0

Type: Improvement Priority: Default
Reporter: Toli Kuznets Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None


 Description   

The current implementation of the JdbcLog (jdbc logger) hard-codes the resulting table names to be "messages_log" and "events_log".

The tables are hardcoded constants, and no calls exist to modify the name of the table.

I'd be ideal if we could specify the names of the logging tables in the config file (or programmatically).
That'd would allow for easy prototyping with Rails to log all the messages to the DB and easily display them in a webapp.

The constructor for JdbcLog takes in the SessionSettings object, so it can easily read the table names from it.



 Comments   
Comment by Steve Bate [ 09/Jun/07 ]

Toli, do you still need this feature?

Comment by Toli Kuznets [ 10/Jun/07 ]

It's not high-priority at all, i just think it would be nice to be able to configure these things instead of having them be hard-coded. Can be something that's tackled when we start moving all the configs to be more Spring-like

Comment by Steve Bate [ 12/Jul/07 ]

See also QF C++ rev 1914.

Comment by Eric Gao [ 02/Jun/09 ]

How's this issue going? Being able to change the table name for logs is very useful.

thanks,

Generated at Thu May 16 09:00:13 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.