How to log to stdout with hou.logging?

   134   0   1
User Avatar
Member
55 posts
Joined: 7月 2013
オフライン
Hi,
I was able to log entries to the default logging system in houdini with something like this:

import hou
entry = hou.logging.LogEntry(message = "--- Logging Test ---")
hou.logging.log(entry)

However, while this entry appears in the log panels if I turn on python logging, it does not appear if I call it from husk rendering. In this case I want to see it in a cmdline output from the prerender script. I suppose something like logging to stdout could help, but how do I have to set it up?

Thanks for any hints.
Edited by haggi krey - 2025年9月15日 06:45:11
  • Quick Links