Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

How Do I Put Unused Servers To Work?

coyote-san Re:Liquidate... (302 comments)

Or several. It depends on how good of a model you want of a 'real' web server with separate web server and database, plus separate test system to drive the load. I wouldn't spend money for it from scratch, but if you already have recent hardware in a small form factor it would be worth considering.

more than 5 years ago
top

Software Logging Schemes?

coyote-san Log4j supports selective logging (225 comments)

Log4j supports selective logging. That means you can have info/debug/trace priority messages in place, but never see them in the log unless you explicitly enable extra logging for that class or package. You can do this at runtime, e.g., via something like 'chainsaw' (which attaches to a running process) or hooks in your UI.

Our policy is that logs are usually very quiet. Application startup/shutdown and not much more. But if there's a problem the debugging messages are already in place to let us peak into the system, even if it's been deployed to a production site.

BTW AOP is also great for this. You can configure logging interceptors that log activity when you're in a development environmnent, but easily removed in production. This is a natural approach when going from one layer to the next, e.g., when wrapping the DAO layer.

more than 6 years ago

Submissions

coyote-san hasn't submitted any stories.

Journals

coyote-san has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?