Rename error functions.
remove old practice logic directory.