81881fe298580da38c5bdb7764c05c03ec278b97
hiram
  Fri Jan 4 11:54:10 2013 -0800
adding cgiExitTime stderr printout to CGI binaries for apache error_log information
diff --git src/hg/hgConvert/hgConvert.c src/hg/hgConvert/hgConvert.c
index 66aed4d..abdd855 100644
--- src/hg/hgConvert/hgConvert.c
+++ src/hg/hgConvert/hgConvert.c
@@ -329,21 +329,23 @@
     dbList = hDbDbListMaybeCheck(FALSE);
     fromDb = matchingDb(dbList, choice->fromDb);
     toDb = matchingDb(dbList, choice->toDb);
     askForDestination(choice, fromPos, fromDb, toDb);
     liftOverChainFreeList(&liftOverList);
     }
 }
 
 /* Null terminated list of CGI Variables we don't want to save
  * permanently. */
 char *excludeVars[] = { "submit", HGLFT_DO_CONVERT, NULL};
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
+long enteredMainTime = clock1000();
 oldVars = hashNew(10);
 cgiSpoof(&argc, argv);
 cartEmptyShell(doMiddle, hUserCookie(), excludeVars, oldVars);
+cgiExitTime("hgConvert", enteredMainTime);
 return 0;
 }