added file for status log function
change log status , and fixed some bugs