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

Prodigy logs #4

Open
eroux opened this issue Jan 6, 2023 · 5 comments
Open

Prodigy logs #4

eroux opened this issue Jan 6, 2023 · 5 comments

Comments

@eroux
Copy link
Contributor

eroux commented Jan 6, 2023

I tried to look at the logs of prodigy but couldn't really find anything useful in journalctl -u prodigy_bdrc_crop_images.service, I'm not sure where prodigy logs errors, info, etc. but it should be instructed to do so in a file in /usr/local/prodigy/logs/

@ta4tsering
Copy link
Contributor

ta4tsering commented Jan 12, 2023

Both error and info log of the bdrc_crop_images.py recipe is at the /usr/local/prodigy/logs/bdrc_crop_images.log.

logs path in recipe

Screenshot 2023-01-12 at 10 26 32 AM

below is the log file

bdrc_crop_images.log

@eroux
Copy link
Contributor Author

eroux commented Jan 12, 2023

yes, I'm aware of that, I was referring to the prodigy logs in general

@ta4tsering
Copy link
Contributor

ta4tsering commented Jan 16, 2023

so I have introduced the Environment=PRODIGY_LOOGING=verbose in the /etc/systemd/system/prodigy_bdrc_crop_images.service as per the Documentaion and when I do sudo journalctl -u prodigy_bdrc_crop_images.service and go to the page, all the logs are available but I couldn't instruct it to write the logs at the /usr/local/prodigy/logs. I tried by adding "log_file": "/usr/local/prodigy/logs/prodigy.log" in the /usr/local/prodigy/prodigy-tools/configuration/bdrc_crop_images.json but after restarting the server. there is still no prodigy.log file in the /usr/local/prodigy/logs
below is the image of the page after the command sudo journalctl -u prodigy_bdrc_crop_images.service
Screenshot 2023-01-16 at 4 17 35 PM

p.s I have tested all through making changes in the .service file at the server. if the addition of the Environment=PRODIGY_LOGGING=verbose looks good, then I will commit it in the prodigy-tools/install-scripts/prodigy_bdrc_crop_images.service and push the commit.

@eroux
Copy link
Contributor Author

eroux commented Jan 16, 2023

thanks for the investigation! I'm sure we can find a way to get the logs somehow. If you're rally stuck you can look on the Prodigy forum and ask a new question if you don't find anything, they seem to answer usually

@ta4tsering
Copy link
Contributor

sure, I will post the question on the forum.

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

2 participants