Use logger; bugfix.