Added log support