saving logs next to render frame

Post Reply
dagtm
Posts: 8
Joined: Thu Jan 10, 2019 7:34 am

saving logs next to render frame

Post 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) ?
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: saving logs next to render frame

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
dagtm
Posts: 8
Joined: Thu Jan 10, 2019 7:34 am

Re: saving logs next to render frame

Post 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 ?
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: saving logs next to render frame

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
dagtm
Posts: 8
Joined: Thu Jan 10, 2019 7:34 am

Re: saving logs next to render frame

Post by dagtm »

ah, yeah, it's clear!
I got confused by looking at it's methods at first.
Post Reply