[Freeipa-users] writing IPA plugin

Stijn De Weirdt stijn.deweirdt at ugent.be
Thu Mar 27 20:35:50 UTC 2014


hi all,

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?

many thanks,

stijn




More information about the Freeipa-users mailing list