Bruce,


Thanks for your quick reply. Kind of along the same line... The most
overhead seems to be when JDO is initializing. What are some common
strategies people use to avoid this overhead in their applications? I am
thinking along the lines of initializing during Servlet startup, but I'm
not sure at what point in the code JDO starts to initialize, and also how
wise it is to do something like this.


Thanks,


Ray






                                                                                       
                                                
                      Bruce Snyder                                                     
                                                
                      <[EMAIL PROTECTED]>        To:       [EMAIL PROTECTED]         
                                                
                                               cc:       (bcc: Ray 
Grieselhuber/Teamwork)                                              
                      07/17/2002 04:22         Subject:  Re: [castor-dev] Logger 
Verbosity                                             
                      PM                                                               
                                                
                      Please respond to                                                
                                                
                      castor-dev                                                       
                                                
                                                                                       
                                                
                                                                                       
                                                




This one time, at band camp, [EMAIL PROTECTED] said:

>how do I change the verbosity in the Logger for JDO? I am currently
getting
>this at the top of every action. How do I eliminate this?
>
>[jdoTest] Loading mapping descriptors from
>file:/C:/Eclipse/eclipse/workspace/DataBinding/jdoTest/department.xml
>[jdoTest] SQL for creating jdoTest.generated.Department: INSERT INTO
>department (deptno,deptname,mgrno,admrdept,location) VALUES (?,?,?,?,?)
>[jdoTest] SQL for deleting jdoTest.generated.Department: DELETE FROM
>department WHERE deptno=?
>[jdoTest] SQL for updating jdoTest.generated.Department: UPDATE department
>SET deptname=?,mgrno=?,admrdept=?,location=? WHERE deptno=? AND deptname=?
>AND mgrno=? AND admrdept=? AND location=?
>[jdoTest] SQL for loading jdoTest.generated.Department:  SELECT
>department.deptname,department.mgrno,department.admrdept,department.location

>
>FROM department WHERE department.deptno=?
>[jdoTest] SAMPLE
>[jdoTest] SELECT
>department.deptno,department.deptname,department.mgrno,department.admrdept,department.location

>
>FROM department WHERE (department.deptno = ?)
>[jdoTest] Castor: Loading jdoTest.generated.Department (A00)

Ray,

Unfortunately, there is no level of verbosity on the Logger. I've given
some thought to replacing the Logger in Castor JDO with the Jakarta
Commons Logging API so that users can plug in any other logger very
easily. However, there are other higher priority items I must first
address.

Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E
=\$\!F<FEI+F-O;0\`\`");'

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
             unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to