Added simple logging behavior.