<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Velocity question</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114207514" />
  <subtitle>Velocity question</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114207514</id>
  <updated>2026-04-04T06:32:46Z</updated>
  <dc:date>2026-04-04T06:32:46Z</dc:date>
  <entry>
    <title>RE: Velocity question</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114253815" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114253815</id>
    <updated>2019-07-11T15:19:49Z</updated>
    <published>2019-07-11T15:19:49Z</published>
    <summary type="html">Not that I know of. You&amp;#39;d probably have to disable the logger outright for the named package, but that is not advisable since you would lose logging on things you do care about.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-07-11T15:19:49Z</dc:date>
  </entry>
  <entry>
    <title>Velocity question</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114207513" />
    <author>
      <name>Daniel G</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114207513</id>
    <updated>2019-07-04T15:34:51Z</updated>
    <published>2019-07-04T15:34:51Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi all.I have a doubt regarding a template.I have a code like this:&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;amp;lt;#attempt&amp;amp;gt; &amp;amp;nbsp;
&amp;amp;lt;#assign var = journalArticleLocalService.getArticleByUrlTitle/&amp;amp;gt;
 &amp;amp;lt;#recover&amp;amp;gt; 
&amp;amp;nbsp;&amp;amp;lt;#assign var = ""/&amp;amp;gt; &amp;lt;!--#attempt--&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;so when the journalArticleLocalService falls, it prints the log and then it goes to the recover part. All works fine.&amp;nbsp;So my question is this: Is there any way that when the attempt part fails, it does not print the log?&amp;nbsp;&lt;br&gt;Thanks in advance.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Daniel G</dc:creator>
    <dc:date>2019-07-04T15:34:51Z</dc:date>
  </entry>
</feed>
