format base log