Fixed some bugs regarding pointer generation
added log file for error reporting
Fixed pointer generation bug
Fixed log file extension format