Skip to content

Commit

Permalink
Merge pull request #3797 from chunfuwen/add_new_virt_admin_cmd
Browse files Browse the repository at this point in the history
Add new virt-admin command:daemon-log-outputs
  • Loading branch information
dzhengfy authored Nov 16, 2023
2 parents 29ce2ae + f15665b commit 3f724ed
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions virttest/virt_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,3 +915,14 @@ def client_disconnect(server_name, client_id, **dargs):
"""
cmd = "client-disconnect %s %s" % (server_name, client_id)
return command(cmd, **dargs)


def daemon_log_outputs(**dargs):
"""
Fetch or set the currently defined set of logging outputs on daemon
:param dargs: standardized virt-admin function API keywords.
:return: CmdResult object
"""
cmd = "daemon-log-outputs"
return command(cmd, **dargs)

0 comments on commit 3f724ed

Please sign in to comment.