Funnelback logging using Freemarker
Managed by | Updated .
Funnelback implementers often find it difficult to view and debug issues with search templates. Template parsing errors sometimes fail to show line numbers or the page content is replaced by stack trace. This make it hard to trace and debug errors in search templates.
To solve this issue, Funnelback data model provides a log object named 'Log' that prints messages to Modern UI logs.
Funnelback 15.8 and later:
$SEARCH_HOME/data/$COLLECTION_NAME/logs/modernui.Admin|Public.log (Linux)
$SEARCH_HOME/web/logs/modernui.$COLLECTION_NAME.Admin|Public.log (Windows)
Funnelback 15.2 - 15.6:
$SEARCH_HOME/web/logs/modernui.Admin|Public.log
Funnelback 15.0 and earlier:
$SEARCH_HOME/web/logs/modernui.log
Object | Usage |
---|---|
Log | ${Log.debug("hello")} |