modify log library