hi rob,

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
ipapython.admin.AdminTool classes

- 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 client side

The return value is controlled by the exception raised. There is an rval
attribute defined in the exception.

thanks!

stijn


rob



_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to