Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uis mutations: log the user #610

Open
oliver-sanders opened this issue Jun 27, 2024 · 0 comments
Open

uis mutations: log the user #610

oliver-sanders opened this issue Jun 27, 2024 · 0 comments
Labels
Milestone

Comments

@oliver-sanders
Copy link
Member

For scheduler commands, we always log the user who actioned the command (unless they are workflow owner, in which case it is implicit).

However, there are some things that are implemented at the UIS not the scheduler e.g:

  • The play mutation.
  • The log query (although this is a mutation, it causes cylc cat-log commands to be run).

We should log the user who actioned these operations.

E.G. add the user name here:

log.info(f'$ {cmd_repr}')

Make this match the format we use in the scheduler.

@oliver-sanders oliver-sanders added this to the 1.6.0 milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant