So i  have manage to find the pymel.conf file.

Seems this is the place that i want to change the logging levels.

for example:
[handler_rootHandler]
## This will stream to the script-editor
class=StreamHandler
level=NOTSET
formatter=pymelFormatter
args=(sys.stdout,)

the level is set to NOTSET.
Are the other levels ints or strings ..

does any one have an idea on what they all are?

Cheers
Kym


On Apr 23, 10:16 am, Kym Watts <[email protected]> wrote:
> Hey,
>
> Im wondering if there is a way to suppress some of the information
> pymel.plugin prints to the script editor in maya?
>
> It also looks like it print the verbose out to the shell that was used
> to start maya...
>
> mayascript editor output:
> pymel.plugin : INFO : Added plugin: Json
> pymel.plugin : INFO : Added plugin: CreateTask
> pymel.plugin : INFO : Added plugin: DispatchAsset
> pymel.plugin : INFO : Added plugin: SubmitAssetForReview
> pymel.plugin : INFO : Added plugin: ModifyInstance
> pymel.plugin : INFO : Added plugin: Base
>
> linux maya shell output:
> Python.Manager : INFO : Added plugin: Json
> Python.Manager : INFO : Added plugin: CreateTask
> Python.Manager : INFO : Added plugin: DispatchAsset
> Python.Manager : INFO : Added plugin: SubmitAssetForReview
> Python.Manager : INFO : Added plugin: ModifyInstance
> Python.Manager : INFO : Added plugin: Base
>
> I think that i would get a quicker response in my tool, if i could
> suppress all of these extra prints.
>
> Thanks in advance.
> Kym
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to