stdout method copy from Rails Kernel#capture
Output params in log with POST request