chrusty / protoc-gen-jsonschema

Protobuf to JSON-Schema compiler
Apache License 2.0
496 stars 101 forks source link

Supressing output logging (info) #189

Open eli-nomasec opened 6 months ago

eli-nomasec commented 6 months ago

Is there an option to disable output for non-error log messages? I get many of these

INFO[0000] Generating JSON-schema for MESSAGE            jsonschema_filename=SomeFile.json msg_name=Somefile proto_filename=SomeFiles.proto

I tried to point stdout to /dev/null but it seems these log messages are actually coming from stderr, and I don't want to supress that because then I won't see error messages at all