log support added