aspose file tools*
The moose likes Object Relational Mapping and the fly likes get rid of too much log( castor jdo) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "get rid of too much log( castor jdo)" Watch "get rid of too much log( castor jdo)" New topic
Author

get rid of too much log( castor jdo)

Kenny Xu
Greenhorn

Joined: Mar 24, 2004
Posts: 2
hello,everyone.
I am using castor jdo,and I found there are too much log,just like this:
"CHANGING TIMESTAMP FROM: 1081821317250 TO: 1081821317250
[test] Castor: Loading com.qiangsheng.model.carmanage.Car (AY5184) "
or like this
"[test] SQL for loading com.qiangsheng.model.carmanage.Insurance: SELECT "INSURA
NCE"."CARID","INSURANCE"."INSURANCEID","INSURANCE"."TYPE","INSURANCE"."COMPANY",
"INSURANCE"."INSURANCEDATE","INSURANCE"."FIXEDYEARS","INSURANCE"."CHARGE","INSUR
ANCE"."REMARK" FROM "INSURANCE" WHERE "INSURANCE"."RECORDID"=?"
and u know,logging is i/o opration,it will waste too much time, when loading thousands of data model,anyone here know how to get rid of them,and just keep some of the most import log when the application is running?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: get rid of too much log( castor jdo)