write JStack requests to the log file

limit log file strings to 2K displayed in the browser