# Redirect LE\_INFO(), LE\_DEBUG() to a file

**URL:** <https://forum.legato.io/t/redirect-le-info-le-debug-to-a-file/176>\
**Category:** Legato Application Framework\
**Created:** [December 8, 2015, 2:43pm UTC](https://forum.legato.io/t/redirect-le-info-le-debug-to-a-file/176 "2015-12-08T14:43:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vkuehne](https://avatars.discourse-cdn.com/v4/letter/v/8491ac/32.png) [@Vkuehne](https://forum.legato.io/u/Vkuehne)\
**Post date:** [December 8, 2015, 2:43pm UTC](https://forum.legato.io/t/redirect-le-info-le-debug-to-a-file/176/1 "2015-12-08T14:43:12Z")

</div>

Hello,  
Legato: 15.10.0  
FW: 07.04.06.00  
Hardware: WP8&MangOH

how can I redirect LE\_INFO(), LE\_DEBUG()… to a file?

---

<div class="post-metadata">

**Author:** ![JayM2M](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@JayM2M](https://forum.legato.io/u/JayM2M)\
**Post date:** [December 16, 2015, 5:07pm UTC](https://forum.legato.io/t/redirect-le-info-le-debug-to-a-file/176/2 "2015-12-16T17:07:23Z")

</div>

On the target, you can redirect the output of the “logread” command to a file.

Jay

---

<div class="post-metadata">

**Author:** ![Vkuehne](https://avatars.discourse-cdn.com/v4/letter/v/8491ac/32.png) [@Vkuehne](https://forum.legato.io/u/Vkuehne)\
**Post date:** [January 6, 2016, 3:33pm UTC](https://forum.legato.io/t/redirect-le-info-le-debug-to-a-file/176/3 "2016-01-06T15:33:25Z")

</div>

Thanks.  
It is possoble to that programmatically in C using system() function?
