local logger writes to Rails file or stdout