Revert "more dynamic log fix"

This reverts commit fa2be165c0e7a7e9f057a6ed3e98921ca40a039f.
more dynamic log fix