jon 2002/08/08 13:01:29
Modified: src/java/org/apache/torque/oid IDBroker.java
Log:
changed the logging level to debug to remove stuff from the log files.
-jon
Revision Changes Path
1.19 +8 -8
jakarta-turbine-torque/src/java/org/apache/torque/oid/IDBroker.java
Index: IDBroker.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/oid/IDBroker.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- IDBroker.java 27 Jul 2002 12:21:02 -0000 1.18
+++ IDBroker.java 8 Aug 2002 20:01:29 -0000 1.19
@@ -434,11 +434,11 @@
{
if (availableIds == null)
{
- category.info ("Forced id retrieval - no available list");
+ category.debug("Forced id retrieval - no available list");
}
else
{
- category.info ("Forced id retrieval - " + availableIds.size());
+ category.debug("Forced id retrieval - " + availableIds.size());
}
storeIDs(tableName, true, connection);
availableIds = (List) ids.get(tableName);
@@ -518,7 +518,7 @@
*/
public void run()
{
- category.info("IDBroker thread was started.");
+ category.debug("IDBroker thread was started.");
Thread thisThread = Thread.currentThread();
while (houseKeeperThread == thisThread)
@@ -537,7 +537,7 @@
while (it.hasNext())
{
String tableName = (String) it.next();
- category.info("IDBroker thread checking for more keys "
+ category.debug("IDBroker thread checking for more keys "
+ "on table: " + tableName);
List availableIds = (List) ids.get(tableName);
int quantity = getQuantity(tableName, null).intValue();
@@ -549,7 +549,7 @@
// want the quantity to be adjusted for thread
// calls.
storeIDs(tableName, false, null);
- category.info("Retrieved more ids for table: "
+ category.debug("Retrieved more ids for table: "
+ tableName);
}
catch (Exception exc)
@@ -560,7 +560,7 @@
}
}
}
- category.info("IDBroker thread finished.");
+ category.debug("IDBroker thread finished.");
}
/**
@@ -606,7 +606,7 @@
int timeLapse = (int) (nowLong - thenLong);
if ( timeLapse < sleepPeriod && timeLapse > 0 )
{
- category.info("Unscheduled retrieval of more ids for table: " +
+ category.debug("Unscheduled retrieval of more ids for table: " +
tableName);
// Increase quantity, so that hopefully this does not
// happen again.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>