Skip to content

transform-tracking-logs always shows no logs to transform #1027

@Danyal-Faheem

Description

@Danyal-Faheem

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReport of or fix for something that isn't working as intended

    Type

    No type

    Projects

    Status

    Ready for Work

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions