KhronosGroup / glTF-Blender-IO

Blender glTF 2.0 importer and exporter
https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html
Apache License 2.0
1.45k stars 306 forks source link

log level setting in export #2267

Open ronh991 opened 3 weeks ago

ronh991 commented 3 weeks ago

Is your feature request related to a problem? Please describe. There is a log level property in the ImportGLTF2 class, but I do not see one in the ExportGLTF2.

I am trying to stop the flooding of INFO messages. so my blender start

F:\blender-4.2.0\blender.exe --start-console --debug-value 1

WARNING

Describe the solution you'd like a similar way to get the app debug value with set_debug_log for the export classes. The ExportGLTF2_Base already has

    export_settings['loglevel'] = logging.INFO

however set to INFO and can't be changed like import?

Describe alternatives you've considered mod the init.py

Additional context Add any other context or screenshots about the feature request here.