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

Allow to write appleseed logs to file alongside render? #508

Open
dictoon opened this issue Apr 6, 2020 · 3 comments
Open

Allow to write appleseed logs to file alongside render? #508

dictoon opened this issue Apr 6, 2020 · 3 comments

Comments

@dictoon
Copy link
Member

dictoon commented Apr 6, 2020

I don't see any way of accessing appleseed log files at the moment. Allowing to write them to disk seems like an option. Thoughts?

@jdent02
Copy link
Member

jdent02 commented Apr 6, 2020

Unless I'm missing something I don't see an existing way to dump the render logs to a file.

So is this more appropriate for appleseed core?

@dictoon
Copy link
Member Author

dictoon commented Apr 7, 2020

The idea would be to add a log target to the global logger (global_logger()). I think the log target can be implemented as a Python class that exposes a write() method with the right signature. I'm not sure about the exact details but that would be the idea.

@est77
Copy link
Member

est77 commented Apr 7, 2020

In appleseed.maya we have this in the render settings:

image

This only applies to appleseed rendering logs, not addon logs.
And when a filename is selected, we log the output of the renderer to that file. If no filename selected we log as usual.
I can give you the code to implement the logging.

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

3 participants