# Get the build logs for React Native

**URL:** <https://community.dynatrace.com/t/get-the-build-logs-for-react-native/39571>\
**Category:** Troubleshooting\
**Tags:** react-native, mobile-monitoring\
**Created:** [May 5, 2023, 11:00am UTC](https://community.dynatrace.com/t/get-the-build-logs-for-react-native/39571 "2023-05-05T11:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yngwie\_lucero](https://avatars.discourse-cdn.com/v4/letter/y/3d9bf3/32.png) [@yngwie\_lucero](https://community.dynatrace.com/u/yngwie_lucero)\
**Post date:** [May 5, 2023, 11:00am UTC](https://community.dynatrace.com/t/get-the-build-logs-for-react-native/39571/1 "2023-05-05T11:00:00Z")

</div>

**Why do we need the build logs?**  
When running&nbsp; **npx instrumentDynatrace** &nbsp;in the terminal it will generate some information about the instrumentation and it will show errors if there are any. Those information are useful for the information.

**How to get the build logs?**  
You can find the build logs in&nbsp;node\_modules/@dynatrace/react-native-plugin/logs or in the terminal after running the instrument command. See screenshot for reference:

 ![Screenshot 2023-05-02 at 3.59.03 pm.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/c/fcf742f6ea41d21e805be3411a5f6726b1dbed37.jpeg)

_NOTE: You can copy/paste the logs into a .txt file for easier investigation._

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 12, 2023, 7:33pm UTC](https://community.dynatrace.com/t/get-the-build-logs-for-react-native/39571/2 "2023-05-12T19:33:40Z")

</div>

[@yngwie\_lucero](https://community.dynatrace.com/user/24673)&nbsp;thanks for sharing this
