remove highest_logfile()

Now that the logfiles are opened by the child process, this needs
to read the fd number from the child struct instead.