...
There are a couple of options that control the behavior of OSL and it's usage in RenderMan.
Option “user” “osl” “int osl: verbose” [0-5] – Controls the verbosity of OSL message echoed by RenderMan. 0 is off, and 1-5 each add one more class of OSL messages to what is printed. Those classes are 1 – SEVERE, 2 – ERROR, 3 – MESSAGE, 4 – WARNING and 5 – INFO.
Option “user” “osl” “int osl:statisticslevel” - This is similar to the “osl:statistics:level” attribute, but it controls the level of statistics tracked by RenderMan for the integration of the OSL shading system as a whole.
Note a number of OSL attributes options are available to be set within a RIB file. The following attributes options are supported:
Option "user" "int osl:debug" [0]
Option "user" "int osl:optimize" [1]
Option "user" "int osl:lockgeom" [1]
Option "user" "int osl:debug_nan" [0]
Option "user" "int osl:debug_uninit" [0]
Option "user" "int osl:compile_report" [0]
Option "user" "int osl:statistics:levelrange_checking" [0]
Refer to the OSL documentation for details on their usage. You can read more about the current version of OSL by visiting OpenShadingLanguage.
...