Stijn De Weirdt wrote:
i'm trying to write my own FreeIPA plugin (for frontend cli usage), and
so far so good, but i'm stuck on 2 issues:
- is it possible to have the plugin use a dedicated or additional log
file? i can manipulate the log manager, but maybe there's a proper API
in freeipa for it; similar to the log_file_name in
- i want to exit the plugin on certain error conditions and want to exit
with non-zero exitcode. how can this be done?
Which side do you want to do the logging on, the server or client side?
The return value is controlled by the exception raised. There is an rval
attribute defined in the exception.
Freeipa-users mailing list