Adding execution time in logs provides useful information for identifying API operations that impact IPA performance. This should be added as a debug option, in order to only add additional instructions and log lines when needed. Output should include time spent in each operation with the maximum resolution available.
[Mon Mar 15 12:32:13.467490 2021] [wsgi:error] [pid 14895:tid 15355] [remote fe80::f816:3eff:fedd:a779%eth0:33040] ipa: INFO: [jsonserver_session] admin@IPA.LOCAL: user_add/1('testuser2', givenname='test', sn='test', version='2.240'): SUCCESS [Mon Mar 15 12:32:13.467588 2021] [wsgi:error] [pid 14895:tid 15355] [remote fe80::f816:3eff:fedd:a779%eth0:33040] ipa: DEBUG: [jsonserver_session] admin@IPA.LOCAL: user_add/1('testuser2', givenname='test', sn='test', version='2.240'): SUCCESS 0.24110692400063272
Metadata Update from @antorres: - Issue assigned to antorres
https://github.com/freeipa/freeipa/pull/5634
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.