Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce java.util.Logger #40

Closed
jankotek opened this issue Mar 19, 2012 · 1 comment
Closed

Introduce java.util.Logger #40

jankotek opened this issue Mar 19, 2012 · 1 comment

Comments

@jankotek
Copy link
Owner

JDBM will probably be used in enterprise environment. We need way to collect debug info, warn users and report errors. So we should start using java.util.Logger.

There are a few traps in what inexperienced user could fall into. For example data import with transactions enabled. This would generate traffic in support group which could be avoided. So JDBM should sense such situation and log an warning: "Looks like you are doing batch-import. Try 'DB.disableTransactions()' to speed up this."

Debug and trace statements should be controlled by static final boolean field, so JDBM could be compilable without debug code.

@jankotek
Copy link
Owner Author

jankotek commented May 9, 2012

Closing, not going to fix right now

@jankotek jankotek closed this as completed May 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant