Red Hat Training

A Red Hat training course is available for Red Hat Satellite

17.26. Method: setLogging

Description

Set logging options for a kickstart profile.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string kslabel - Label of kickstart profile to be changed
  • boolean pre - Defines whether or not to log the pre section of a kickstart to /root/ks-pre.log
  • boolean post - Defines whether or not to log the post section of a kickstart to /root/ks-post.log
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise