use absolute path in parselog script

for calling the script in other dir.