Open sanity opened 14 years ago
What do we need to log?
Are you talking about setting up a way to write the DB to file? If so, surely an append-only filesystem would be easiest to implement and best in terms of concurrency?
No, I just mean a logging framework, like log4j or something - for debugging purposes.
Ah, okay. I'll set up the dependency for it now.
Is log4j the best option? I've never found a Java logging framework I liked, they all seem over-complicated.
Anyway, I guess we can go with whatever option you prefer.
These are our options, and two of them use log4j: http://en.wikipedia.org/wiki/Java_logging_framework#Comparison_of_features
Ok, log4j sounds good
Right now the only logging is through a primitive and ugly static final boolean StoreIterator.verbose. We should use proper logging (provided it doesn't slow anything down).