<?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>Liferay Tomcat Bundle Remove stdout log file in the Tomcat directory</title>
  <link rel="self" href="https://liferay.dev/hu/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122430566" />
  <subtitle>Liferay Tomcat Bundle Remove stdout log file in the Tomcat directory</subtitle>
  <id>https://liferay.dev/hu/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122430566</id>
  <updated>2026-06-27T01:20:24Z</updated>
  <dc:date>2026-06-27T01:20:24Z</dc:date>
  <entry>
    <title>RE: RE: Liferay Tomcat Bundle Remove stdout log file in the Tomcat directory</title>
    <link rel="alternate" href="https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122452093" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122452093</id>
    <updated>2024-03-06T17:28:01Z</updated>
    <published>2024-03-06T17:28:00Z</published>
    <summary type="html">&lt;p&gt;Make sure your own code is not using System.out.println or similar.
  Rather use proper logging.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2024-03-06T17:28:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay Tomcat Bundle Remove stdout log file in the Tomcat directory</title>
    <link rel="alternate" href="https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122430773" />
    <author>
      <name>Anish Kumar</name>
    </author>
    <id>https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122430773</id>
    <updated>2024-02-28T07:53:51Z</updated>
    <published>2024-02-28T07:52:18Z</published>
    <summary type="html">&lt;p&gt;I have set swallowOutput to true in the
  tomcat/conf/Catalina/localhost/ROOT.xml Context XML and now the
  default thread logs are not adding to the stdout file. &lt;/p&gt;
&lt;p&gt;Only logs from other threads are getting added to this file&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Anish Kumar</dc:creator>
    <dc:date>2024-02-28T07:52:18Z</dc:date>
  </entry>
  <entry>
    <title>Liferay Tomcat Bundle Remove stdout log file in the Tomcat directory</title>
    <link rel="alternate" href="https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122430565" />
    <author>
      <name>Anish Kumar</name>
    </author>
    <id>https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122430565</id>
    <updated>2024-02-28T06:41:33Z</updated>
    <published>2024-02-28T06:41:32Z</published>
    <summary type="html">&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am trying to remove the stdout log file created in the folder
  &lt;strong&gt;LiferayHome/tomcat-9.0.75/logs/liferayuat-stdout.2024-02-28 &lt;/strong&gt;as
  this file is not rolling daily basis and all logs are writtent to one
  file. Also we already have the daily log files in the &lt;strong&gt;LiferayHome/logs &lt;/strong&gt;folder. &lt;/p&gt;
&lt;p&gt;I am running &lt;strong&gt;Liferay bundle as a windows service&lt;/strong&gt;,
  not from command prompt. So this file will get larger after deploying
  to production and we can't delete without stopping tomcat bundle.&lt;/p&gt;
&lt;p&gt;I have tried configuring
    &lt;strong&gt;LiferayHome/tomcat-9.0.75/conf/logging.properties
  &lt;/strong&gt;by removing
  handler &lt;strong&gt;java.util.logging.ConsoleHandler&lt;/strong&gt; as mentioned
  in the below URL and tried
  setting java.util.logging.ConsoleHandler.level = OFF, But not worked
  for me.&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://liferay.dev/blogs/-/blogs/improve-your-liferay-and-tomcat-logging"&gt;https://liferay.dev/blogs/-/blogs/improve-your-liferay-and-tomcat-logging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could somone please share how we can remove this stdout log file.&lt;/p&gt;
&lt;p&gt;Does this &lt;strong&gt;stdout &lt;/strong&gt;log file deleted automatically
  after 90 days? &lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;</summary>
    <dc:creator>Anish Kumar</dc:creator>
    <dc:date>2024-02-28T06:41:32Z</dc:date>
  </entry>
</feed>
