Add debugging code for the database scanning issue.
Add debugging code for the database scanning issue.

I'm hoping the debug output produced will be of help the next time someone
reports this issue.

see #145

Signed-off-by: Anurag Priyam <6e6ab5ea9cb59fe7c35d2a1fc74443577eb60635@gmail.com>

aldermossy/sequenceserver,jasminZ/sequenceserver,IsmailM/sequenceserver,IsmailM/sequenceserver,deepakunni3/sequenceserver,elsiklab/sequenceserver,aldermossy/sequenceserver,deepakunni3/sequenceserver,vivekiitkgp/sequenceserver,yeban/sequenceserver,deepakunni3/sequenceserver,jasminZ/sequenceserver,aldermossy/sequenceserver,vivekiitkgp/sequenceserver,elsiklab/sequenceserver,elsiklab/sequenceserver,IsmailM/sequenceserver,jasminZ/sequenceserver,yeban/sequenceserver,yeban/sequenceserver,aldermossy/sequenceserver,yeban/sequenceserver,vivekiitkgp/sequenceserver