# Log Buffer overflow

**URL:** <https://discuss.bitrise.io/t/log-buffer-overflow/1570>\
**Category:** Builds\
**Tags:** fastlane, bitriseio\
**Created:** [April 26, 2017, 3:11pm UTC](https://discuss.bitrise.io/t/log-buffer-overflow/1570 "2017-04-26T15:11:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![francesco.puntillo](https://avatars.discourse-cdn.com/v4/letter/f/f6c823/32.png) [@francesco.puntillo](https://discuss.bitrise.io/u/francesco.puntillo)\
**Post date:** [April 26, 2017, 3:11pm UTC](https://discuss.bitrise.io/t/log-buffer-overflow/1570/1 "2017-04-26T15:11:42Z")

</div>

when testing my app the test randomly fails.

the problem is that I can’t check the error message because the only thing the log has it’s:

[!!!] (Temporary) Log Buffer Overflow - Ignoring log chunk(s). Please check what generates so much log in such a short time.

How can I get the real error and fix the issue.

Thanks

Francesco

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [April 26, 2017, 3:22pm UTC](https://discuss.bitrise.io/t/log-buffer-overflow/1570/2 "2017-04-26T15:22:37Z")

</div>

Hi,

Is this an Xcode build?

---

<div class="post-metadata">

**Author:** ![francesco.puntillo](https://avatars.discourse-cdn.com/v4/letter/f/f6c823/32.png) [@francesco.puntillo](https://discuss.bitrise.io/u/francesco.puntillo)\
**Post date:** [April 26, 2017, 3:26pm UTC](https://discuss.bitrise.io/t/log-buffer-overflow/1570/3 "2017-04-26T15:26:11Z")

</div>

yes, it’s running xcodebuild clean test

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [April 26, 2017, 3:38pm UTC](https://discuss.bitrise.io/t/log-buffer-overflow/1570/4 "2017-04-26T15:38:00Z")

</div>

I’d suggest to switch to our Xcode Test step and add a Deploy to [Bitrise.io](http://Bitrise.io) step, as described here [Xcode exit code 65 / exit code 66 / raw-xcodebuild-output.log](http://discuss.bitrise.io/t/xcode-exit-code-65-exit-code-66-raw-xcodebuild-output-log/813)

There are other solutions, but this way you get a nicely formatted log in your Bitrise log, and if you need it you can still access the raw log (attached to the build as an artifact).
