More teaching team only logs #43

Closed
opened 2024-10-01 16:32:12 +08:00 by 张泊明518370910136 · 3 comments

If we only use output from gitea actions, we can only have tiny logs for TT and students for security reasons. TT should have access to more detailed logs. One approach would be writing the debug log to mounted /home/tt/.cache/logs, while printing the info log to stdout.

If we only use output from gitea actions, we can only have tiny logs for TT and students for security reasons. TT should have access to more detailed logs. One approach would be writing the debug log to mounted `/home/tt/.cache/logs`, while printing the info log to stdout.
张泊明518370910136 added the
enhancement
label 2024-10-01 16:32:12 +08:00
Owner

what would those logs be about? run logs (for debugging purpose) or more details on students' submission?

what would those logs be about? run logs (for debugging purpose) or more details on students' submission?
Owner

last year on a release (or grading keyword) an issue was opened in our joj/grading repo. so we didn't need to jump to the students repo to get the details of what went wrong.

depending on teh lgs content, opening an issue could be an other option?

last year on a release (or grading keyword) an issue was opened in our joj/grading repo. so we didn't need to jump to the students repo to get the details of what went wrong. depending on teh lgs content, opening an issue could be an other option?
Author
Owner

I only think about the log for debugging purposes. But it would be great to log more details on students' submissions.
Currently, the debug log in joj3 logs almost every variable it uses. It could be helpful at the beginning stage of JOJ3 for faster debugging.
Also, I think the debug log in teapot is useful for debugging.

I only think about the log for debugging purposes. But it would be great to log more details on students' submissions. Currently, the debug log in joj3 logs almost every variable it uses. It could be helpful at the beginning stage of JOJ3 for faster debugging. Also, I think the debug log in teapot is useful for debugging.
Sign in to join this conversation.
No description provided.