Removed crappy getlog function, need to replace this function
help