fix parameter logging for resources