use new router method getDebug() instead of old getLog()