When running the command specified in the README
tutor local do transform-tracking-logs --source_provider LOCAL --source_config '{"key": "/openedx/data", "container": "logs", "prefix": "tracking.log"}' --transformer_type xapi
it always returns that no logs to be transformed.
This is likely because tutor doesn't mount the logs directory as a volume for the lms-job container. Something that is done for the main lms container. For this reason, I have to manually mount my data directory to the lms-job container.
A fix of the top of my head would be to create a aspects-logs-job job that extends the lms-job but mounts the logs directory and the command should be run in that job then.
When running the command specified in the README
it always returns that no logs to be transformed.
This is likely because tutor doesn't mount the logs directory as a volume for the lms-job container. Something that is done for the main lms container. For this reason, I have to manually mount my data directory to the lms-job container.
A fix of the top of my head would be to create a
aspects-logs-jobjob that extends the lms-job but mounts the logs directory and the command should be run in that job then.