Fixed an issue with deprecated web log function.

The deprecated web log function was causing the new version to not work by always overriding the value.  Now it will only overwrite the variable if the parameter is sent in the request.