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 » Fri Jan 11, 2019 7:35 am

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: 475
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: saving logs next to render frame

Post by timurhai » Fri Jan 11, 2019 8:45 am

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 2.4.0, Ubuntu 18.04 LTS, 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 » Fri Jan 11, 2019 11:46 pm

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: 475
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: saving logs next to render frame

Post by timurhai » Sun Jan 13, 2019 12:12 pm

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 2.4.0, Ubuntu 18.04 LTS, 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 » Wed Jan 16, 2019 4:09 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest