Page 1 of 1

saving logs next to render frame

Posted: Fri Jan 11, 2019 7:35 am
by dagtm
Is there an easy way to get houdini console output (render logs) and safe it to separate file next to the render output (or any specified location for that matter) ?

Re: saving logs next to render frame

Posted: Fri Jan 11, 2019 8:45 am
by timurhai
Hi.
You can customize Python parser class. Even better to use some custom, leaving original unchanged.
https://github.com/CGRU/cgru/blob/maste ... /hbatch.py
You can read/write any files (do anything) during output parsing.

Re: saving logs next to render frame

Posted: Fri Jan 11, 2019 11:46 pm
by dagtm
thanks for the answer!

As far as I understand, this parser is just going to give me information provided by afanasy parser method. Can I get original Houdini information that is printed out as well ?

Re: saving logs next to render frame

Posted: Sun Jan 13, 2019 12:12 pm
by timurhai
Hi.
(May be i did not got you...)
Parser parses original command (child process) output.
If command launches Houdini, parser parses original Houdini (hython) information.

Re: saving logs next to render frame

Posted: Wed Jan 16, 2019 4:09 pm
by dagtm
ah, yeah, it's clear!
I got confused by looking at it's methods at first.