need to undef LOG in release