Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow
In directory james.mmbase.org:/tmp/cvs-serv18435
Modified Files:
Url.java
Log Message:
lowered a log, added some comments
See also:
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow
Index: Url.java
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow/Url.java,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- Url.java 26 Jan 2009 12:40:44 -0000 1.54
+++ Url.java 26 Jan 2009 12:48:14 -0000 1.55
@@ -35,7 +35,7 @@
* <p>
* The creation of the URL is delegated to the MMBase framework.
* </p>
- * @version $Id: Url.java,v 1.54 2009/01/26 12:40:44 michiel Exp $;
+ * @version $Id: Url.java,v 1.55 2009/01/26 12:48:14 michiel Exp $;
* @since MMBase-1.9
*/
public class Url implements Comparable, CharSequence, Casting.Unwrappable {
@@ -179,15 +179,19 @@
if (internal) {
if (log.isTraceEnabled()) {
log.trace("Creating internal url link to page: " + page +
frameworkParameters, new Exception());
- } else {
+ } else if (log.isDebugEnabled()) {
log.debug("Creating internal url link to page: " + page +
frameworkParameters);
}
result = framework.getInternalUrl(page.toString(), params,
frameworkParameters);
if (result == null) {
result = framework.getUrl(page.toString(), params,
frameworkParameters, false);
- log.warn("No internal url gotten from framework, falled back
to " + result);
+
+ // I think this happens a lot for mm:includes. Actually I
think the issue is that
+ // getInternalUrl for framework/urlconverter's is not
implementated at all.
+
+ log.debug("No internal url gotten from framework for, falled
back to " + result);
} else {
- log.debug("url gotten from framework " + result);
+ log.debug("Internal url gotten from framework " + result);
}
} else {
if (process) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs