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

remote logging #86

Closed
eudoxos opened this issue Jul 27, 2022 · 1 comment
Closed

remote logging #86

eudoxos opened this issue Jul 27, 2022 · 1 comment

Comments

@eudoxos
Copy link
Member

eudoxos commented Jul 27, 2022

This needs some co-operation between mupifDB and mupif itself. There are currently branches https://github.com/mupif/mupif/tree/dev-log and https://github.com/mupif/mupifDB/tree/dev-log . Can @stanislavsulc have a look? They pass remote log URI parameter; it could be given to workflow as a part of metadata.

It seems, though, we will have to change the signature of SimpleJobManager.allocateJob, as that one will need to receive the logger URI explicitly. That means the call will fail with older jobmanagers. How much of an issue is that?

@eudoxos
Copy link
Member Author

eudoxos commented Jul 27, 2022

This is now merged in both masters. THe URi is passed in Workflow metadata (Execution.Log_URI) but is sent as parameters when requesting job allocation from jobmanager — the respective local variable should be set before mupif is imported in the child process, to avoid (messy) log redirections later. More testing will be needed for sure, I am closing this now.

@eudoxos eudoxos closed this as completed Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant