# Turning on the log for ITKElastix

**URL:** <https://discourse.itk.org/t/turning-on-the-log-for-itkelastix/5281>\
**Category:** Uncategorized\
**Created:** [August 21, 2022, 4:30pm UTC](https://discourse.itk.org/t/turning-on-the-log-for-itkelastix/5281 "2022-08-21T16:30:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![edgar](https://discourse.itk.org/letter_avatar_proxy/v4/letter/e/b487fb/32.png) [@edgar](https://discourse.itk.org/u/edgar)\
**Post date:** [August 21, 2022, 4:30pm UTC](https://discourse.itk.org/t/turning-on-the-log-for-itkelastix/5281/1 "2022-08-21T16:30:00Z")

</div>

Hi!

I just want to share a tip. If you get something like

> Internal elastix error: See elastix log (use LogToConsoleOn() or LogToFileOn())

try to use this option

> log\_to\_console=True

(from `help(itk.elastix_registration_method`)

Cheers!
