## Script (Python) "prefs_error_log_setProperties"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=keep_entries,ignored_exceptions,copy_to_zlog=0
##title=
##
request=context.REQUEST

context.plone_log('copy_to_zlog='+str(copy_to_zlog))
results = context.error_log.setProperties(keep_entries,copy_to_zlog,ignored_exceptions)
return request.RESPONSE.redirect(context.absolute_url() +'/prefs_error_log_form?portal_status_message=%s' % ('Data+Updated'))
