Author: jleroux
Date: Sat Jul 9 09:57:51 2011
New Revision: 1144625
URL:
http://svn.apache.org/viewvc?rev=1144625&view=revLog:
When it's INFO level I prefer to have names than Ids. And sorry but I don't see the point to show info like org.ofbiz.service.job.PersistedServiceJob@118dabe but I just removed this one in case it's useful to someone...
Modified:
ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java
ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java
Modified: ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java?rev=1144625&r1=1144624&r2=1144625&view=diff==============================================================================
--- ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java (original)
+++ ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java Sat Jul 9 09:57:51 2011
@@ -507,7 +507,7 @@ public class CatalinaContainer implement
}
protected Callable<Context> createContext(final ComponentConfig.WebappInfo appInfo) throws ContainerException {
- Debug.logInfo("createContext(" + appInfo + ")", module);
+ Debug.logInfo("createContext(" + appInfo.name + ")", module);
final Engine engine = engines.get(appInfo.server);
if (engine == null) {
Debug.logWarning("Server with name [" + appInfo.server + "] not found; not mounting [" + appInfo.name + "]", module);
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java?rev=1144625&r1=1144624&r2=1144625&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java Sat Jul 9 09:57:51 2011
@@ -177,7 +177,7 @@ public class PersistedServiceJob extends
} catch (GenericEntityException e) {
throw new RuntimeException(e.getMessage());
}
- if (Debug.infoOn()) Debug.logInfo(this.toString() + "[" + getJobId() + "] -- Next runtime: " + new Date(nextRecurrence), module);
+ if (Debug.infoOn()) Debug.logInfo("Job [" + getJobName() + "] Id [" + getJobId() + "] -- Next runtime: " + new Date(nextRecurrence), module);
}
private void createRecurrence(GenericValue job, long next) throws GenericEntityException {