Enhanced simple logging try.