Fórum
Enable Freemarker Logging
Alessandro Candini, modificado 7 Anos atrás.
Enable Freemarker Logging
Regular Member Postagens: 130 Data de Entrada: 17/10/15 Postagens Recentes
On Liferay 7 CE GA3 I'm developing Web Content Templates using Freemarker, but if I make an error no logs are provided inside catalina.out like in Liferay version 6.2.
In other words when I reload my page inside a browser, the part affected by some issues is not rendered (white background and nothing else), so: how to enable Freemarker logs in order to get some hint about errors?
Thank you
In other words when I reload my page inside a browser, the part affected by some issues is not rendered (white background and nothing else), so: how to enable Freemarker logs in order to get some hint about errors?
Thank you
Marco Endres, modificado 7 Anos atrás.
RE: Enable Freemarker Logging
Regular Member Postagens: 112 Data de Entrada: 22/08/12 Postagens Recentes
Hello Alessandro
By default the log should be enabled I think. I once had a problem, that i used a variable with a dash so there I got no log for everything. But otherwise it logs always. Maybe you also use a <#attempt> and <#recover>. This could also remove the logs, because you expect it that it can fail.
Greetings
Marco Endres
By default the log should be enabled I think. I once had a problem, that i used a variable with a dash so there I got no log for everything. But otherwise it logs always. Maybe you also use a <#attempt> and <#recover>. This could also remove the logs, because you expect it that it can fail.
Greetings
Marco Endres