log.txt is written to by release_log() in kareha.pl, that should be easy enough to modify. process_file() writes the file in in src/ and thumb/. I'm not sure where the file is kept before being copied, that is outside the control of the script, and probably up to Apache or CGI.pm or something.