# How to log bad data in an import script

**URL:** <https://meta.discourse.org/t/how-to-log-bad-data-in-an-import-script/49034>\
**Category:** Development\
**Created:** [22 Agosto 2016, 11:41pm UTC](https://meta.discourse.org/t/how-to-log-bad-data-in-an-import-script/49034 "2016-08-22T23:41:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [23 Agosto 2016, 12:58am UTC](https://meta.discourse.org/t/how-to-log-bad-data-in-an-import-script/49034/3 "2016-08-23T00:58:23Z")

</div>

Is there a way we like? Otherwise, I’ll just Google “ruby output stderr” and see what comes up. 🙂

---

_[View the full topic](https://meta.discourse.org/t/how-to-log-bad-data-in-an-import-script/49034)._
