<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Capture log.error in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/266338#M35211</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The application is not onboarded&amp;nbsp; yet, but we want to confirm if it will be possible to capture the log.error message (highlighted as &lt;STRONG&gt;1&lt;/STRONG&gt; in the attached snapshot) once onboarded.&lt;/P&gt;&lt;P&gt;We plan to test this scenario in the lower environment first.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2024 13:45:46 GMT</pubDate>
    <dc:creator>Vikas_g1997</dc:creator>
    <dc:date>2024-12-30T13:45:46Z</dc:date>
    <item>
      <title>Capture log.error</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/266309#M35206</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We have a requirement from the customer to capture the log.error message (highlighted as &lt;STRONG&gt;1&lt;/STRONG&gt; in the attached snapshot). Currently, we are only see the second exception captured to BizErrorCode.&lt;/P&gt;&lt;P&gt;Could someone guide us on how we can ensure the log.error exception is captured in Dynatrace? If there are specific configurations, such as logging integration or API usage, please let us know the steps to achieve this.&lt;/P&gt;&lt;P&gt;Looking forward to your suggestions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vikas_g1997_0-1735553550424.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25496i46D93FE94AAD1C6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vikas_g1997_0-1735553550424.png" alt="Vikas_g1997_0-1735553550424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 10:19:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/266309#M35206</guid>
      <dc:creator>Vikas_g1997</dc:creator>
      <dc:date>2024-12-30T10:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Capture log.error</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/266320#M35208</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can see too many exceptions are catched out-of-the-box, if you have OneAgent in fullstack. Have you check &lt;A title="Exception analysis" href="https://docs.dynatrace.com/docs/shortlink/exception-analysis" target="_blank" rel="noopener"&gt;Exception analysis&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 11:17:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/266320#M35208</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-12-30T11:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Capture log.error</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/266338#M35211</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The application is not onboarded&amp;nbsp; yet, but we want to confirm if it will be possible to capture the log.error message (highlighted as &lt;STRONG&gt;1&lt;/STRONG&gt; in the attached snapshot) once onboarded.&lt;/P&gt;&lt;P&gt;We plan to test this scenario in the lower environment first.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 13:45:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/266338#M35211</guid>
      <dc:creator>Vikas_g1997</dc:creator>
      <dc:date>2024-12-30T13:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Capture log.error</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/266371#M35217</link>
      <description>&lt;P&gt;By default, the exception should be captured and you can find more when you configure the agent.&lt;BR /&gt;From the documentation:&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/service-failure-detection" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/service-failure-detection&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;By default, Dynatrace detects:&lt;/P&gt;&lt;DIV class=""&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Programming exceptions (Java, .NET, Node.js, and PHP) as the reason for failed requests when exceptions result in the abort of service calls.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;If still not captured, you can define custom exception detection, using this.&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/service-failure-detection#general" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/service-failure-detection#general&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Screenshot from my lab:&lt;/SPAN&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RohitBisht_0-1735599702587.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25512iBD33F4B7A2EFCC44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RohitBisht_0-1735599702587.png" alt="RohitBisht_0-1735599702587.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 Dec 2024 23:02:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/266371#M35217</guid>
      <dc:creator>RohitBisht</dc:creator>
      <dc:date>2024-12-30T23:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Capture log.error</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/267592#M35370</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/45903"&gt;@RohitBisht&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We tried using custom exceptions and capturing them with the request attribute method, but it seems that the logs generated by the SLF4J framework are not tied to the class as expected. The issue is that the logs appear to be generated independently of the class, and this approach doesn't seem to work.&lt;/P&gt;&lt;P&gt;Could you please suggest a solution for capturing these logs, especially since the customer is not using log monitoring&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vikas_g1997_0-1737014562396.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25754i8E7FF26A42A03E50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vikas_g1997_0-1737014562396.png" alt="Vikas_g1997_0-1737014562396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 08:04:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/267592#M35370</guid>
      <dc:creator>Vikas_g1997</dc:creator>
      <dc:date>2025-01-16T08:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Capture log.error</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/267844#M35413</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57336"&gt;@Vikas_g1997&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I would suggest to check one agent features in settings -&amp;gt; preferences -&amp;gt; one agent features and look for optional tracing features, enable it and test it.&lt;/P&gt;&lt;P&gt;Best is to open a support case as this definitely needs a deep dive.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2025 06:53:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-log-error/m-p/267844#M35413</guid>
      <dc:creator>RohitBisht</dc:creator>
      <dc:date>2025-01-18T06:53:31Z</dc:date>
    </item>
  </channel>
</rss>

