Is it possible to add ledger monitor functionality in RvSnoop future releases?
Comment: I'm not sure if there is a way to 'monitor' a ledger file, it should be possible to add add a feature to examine the contents of an off-line ledger file and copy messages out of it.
The problem with monitoring a ledger is that the ledger will be opened by the process that is using it, so if RvSnoop tries to open the same file it could become corrupt (it needs to be opened for read/write by RvSnoop as this is what the tibrvcm library requires).
A possible work-around would be to take a snap-shot of the ledger (i.e. copy the file) and then work on that, but if the file is open it may not be in a state that can be read (i.e. there may be clean up that is performed as part of the file close/commit operation which hasn't happen yet on an in-use file).
Comment: Can you use the RVExplorer code for ledger file exploring? Adding functionality that sname is automatically filled in would be nice.
Comment: I already have some code lying around on my laptop that interrogates the contents of a ledger file, so I could re-use that without worring about licensing.
But if you can send me a link to RVExplorer I'll have a look at it and see what I can do.
Is it possible to add ledger monitor functionality in RvSnoop future releases?
Comment: I'm not sure if there is a way to 'monitor' a ledger file, it should be possible to add add a feature to examine the contents of an off-line ledger file and copy messages out of it.
The problem with monitoring a ledger is that the ledger will be opened by the process that is using it, so if RvSnoop tries to open the same file it could become corrupt (it needs to be opened for read/write by RvSnoop as this is what the tibrvcm library requires).
A possible work-around would be to take a snap-shot of the ledger (i.e. copy the file) and then work on that, but if the file is open it may not be in a state that can be read (i.e. there may be clean up that is performed as part of the file close/commit operation which hasn't happen yet on an in-use file).
Comment: Can you use the RVExplorer code for ledger file exploring? Adding functionality that sname is automatically filled in would be nice.
Comment: I already have some code lying around on my laptop that interrogates the contents of a ledger file, so I could re-use that without worring about licensing.
But if you can send me a link to RVExplorer I'll have a look at it and see what I can do.