updated webLog to use subprocess