<?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>article Get the metro logs for React Native in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Get-the-metro-logs-for-React-Native/ta-p/211263</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;STRONG&gt;Why do we need the metro logs?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When starting the React Native application with&amp;nbsp;&lt;CODE&gt;react-native run-android&lt;/CODE&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;react-native run-ios&lt;/CODE&gt;&amp;nbsp;or&amp;nbsp;&lt;CODE&gt;react-native start --reset-cache&lt;/CODE&gt;. It will generate more logs in the terminal or command line. Some actions&amp;nbsp;&lt;SPAN&gt;are generated after instrumentation of the code in the Metro transformer so it will be shown here. And will help in the investigation.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;How to get the metro logs?&lt;BR /&gt;&lt;/STRONG&gt;As mentioned it will be found in the terminal or command line. See screenshot for reference.&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-02 at 5.22.02 pm.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11437iDD791E9B6AB9BA54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-05-02 at 5.22.02 pm.png" alt="Screenshot 2023-05-02 at 5.22.02 pm.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;NOTE: You can copy/paste the logs from start to finish into a .txt file for easier investigation.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 05 May 2023 08:48:56 GMT</pubDate>
    <dc:creator>yngwie_lucero</dc:creator>
    <dc:date>2023-05-05T08:48:56Z</dc:date>
    <item>
      <title>Get the metro logs for React Native</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Get-the-metro-logs-for-React-Native/ta-p/211263</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;STRONG&gt;Why do we need the metro logs?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When starting the React Native application with&amp;nbsp;&lt;CODE&gt;react-native run-android&lt;/CODE&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;react-native run-ios&lt;/CODE&gt;&amp;nbsp;or&amp;nbsp;&lt;CODE&gt;react-native start --reset-cache&lt;/CODE&gt;. It will generate more logs in the terminal or command line. Some actions&amp;nbsp;&lt;SPAN&gt;are generated after instrumentation of the code in the Metro transformer so it will be shown here. And will help in the investigation.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;How to get the metro logs?&lt;BR /&gt;&lt;/STRONG&gt;As mentioned it will be found in the terminal or command line. See screenshot for reference.&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-02 at 5.22.02 pm.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11437iDD791E9B6AB9BA54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-05-02 at 5.22.02 pm.png" alt="Screenshot 2023-05-02 at 5.22.02 pm.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;NOTE: You can copy/paste the logs from start to finish into a .txt file for easier investigation.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 May 2023 08:48:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Get-the-metro-logs-for-React-Native/ta-p/211263</guid>
      <dc:creator>yngwie_lucero</dc:creator>
      <dc:date>2023-05-05T08:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get the metro logs for React Native</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Get-the-metro-logs-for-React-Native/tac-p/212136#M221</link>
      <description>&lt;P&gt;Thanks for sharing this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 19:33:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Get-the-metro-logs-for-React-Native/tac-p/212136#M221</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-05-12T19:33:05Z</dc:date>
    </item>
  </channel>
</rss>

