matusnovak/doxybook2

Is there a "silent" option (non-verbose)?

krillboi opened this issue · 5 comments

Hi @matusnovak,

I couldn't find it anywhere so I'm asking here. Is there an option to turn off the output?

Right now we have hundreds and hundreds of lines with "successful output" such as

[10:58:09]   Loading doc\xml\dir_2721a1b2e27fde76a4f6b076d7f7eeb1.xml
[10:58:09]   Loading doc\xml\dir_3e6e2ad1a77699fc44cdda163390770d.xml
[10:58:09]   Loading doc\xml\dir_15ca84dde23d7df264ee37d90130c7fe.xml
[10:58:09]   Loading doc\xml\dir_5eae9ec9ab8b43310260374554d16087.xml
[10:58:09]   Loading doc\xml\dir_26eef9ff65dde7c9ded8ef7c67b54ede.xml
[10:58:09]   Loading doc\xml\dir_bb8b6a6e1170945c4378d4a395f0c8fc.xml
[10:58:09]   Loading doc\xml\dir_5b9f6026e81436660fbb11efe40d3b6f.xml
[10:58:09]   Loading doc\xml\dir_703f503d4dd7a27f2c2c1223b95cec2e.xml
[10:58:09]   Loading doc\xml\dir_aefb17ff9ea515288d759d135b48d117.xml
[10:58:09]   Loading doc\xml\dir_3b8aa781b30a4bca689c71e2916e2e1d.xml
[10:58:09]   Loading doc\xml\dir_f2c374448d9fda4e56eacfa123e4d519.xml
[10:58:09]   Loading doc\xml\dir_138aff360eb965c43b94267b8d1ce09e.xml
[10:58:09]   Loading doc\xml\dir_2f9b547542ac2ab3a0d3655507f6c40a.xml
[10:58:09]   Loading doc\xml\dir_e410795d1e39b70f170dc3aa925e8501.xml
[10:58:09]   Loading doc\xml\dir_772a038a17d08ace3053bf362784fbcd.xml
[10:58:09]   Loading doc\xml\dir_5b31f8be77399fb78621e150a864486a.xml
[10:58:09]   Loading doc\xml\dir_16213c301cd13ea0e1eac47ae101a644.xml
[10:58:09]   Loading doc\xml\dir_62380a73d6d4cea30c83f5302685e107.xml
[10:58:09]   Loading doc\xml\dir_8d0186503bd42b5f96449f78afdce5b9.xml
[10:58:09]   Loading doc\xml\dir_b9fa26b3ab0a61059db54c8c392e1522.xml
[10:58:09]   Loading doc\xml\dir_9bfb3099f3ceb3014633383c9954a400.xml
[10:58:09]   Loading doc\xml\dir_8a268f2c5de3bef5f6af879ca461d6ef.xml
[10:58:09]   Loading doc\xml\dir_9a90f3e23b3d66e5239585e61a0d7553.xml
[10:58:09]   Loading doc\xml\dir_3965cc0e6bbbcbbb48d51e19edce3ae0.xml
[10:58:09]   Loading doc\xml\dir_9ec605899283fc45ed03a934904ff7be.xml
[10:58:09]   Loading doc\xml\dir_8681aedd08a78102785a4288970e281e.xml
[10:58:09]   Loading doc\xml\dir_4f05924e6ed802336ae65e49e788598d.xml
[10:58:09]   Loading doc\xml\dir_541e7624571442f1c3b0fa79f15f356a.xml
[10:58:09]   Loading doc\xml\dir_cf5175297c925fa3ef9009f22fd648aa.xml
[10:58:09]   Loading doc\xml\dir_077c23760d9b6fcf70aeadd284838365.xml

For more clean output I'd like to turn this off and perhaps only get output when something bad happens. Is there a way to do this? A command line option or something.

Hi @krillboi

There wasn't an option to disable the output, but I have added that in just now. It's part of the 1.2.2 release here: https://github.com/matusnovak/doxybook2/releases/tag/v1.2.2

Simply add -q (or --quiet) to the command line and it will disable the output (stdout). However, warnings and errors will remain enabled (stderr).

Does this solve your issue?

Great, I'll try it out and get back to you!

Hi @matusnovak

I unfortunately have some trouble testing this since the anti-virus on my work PC is pretty harsh and keeps flagging the .exe file when I try to execute with the newest version. Not sure what I can do but I'll try and get it whitelisted.

I wonder why it is complaining. Everything is build from sources on GitHub actions and published automatically from there.

To be fair, my systems is complaining about a simple C hello world program since the last Windows update.

Edit:

You might want to use https://github.com/matusnovak/doxybook2/releases/tag/v1.2.3 instead of v1.2.2 due to fixed TinyXML dependency problem.

Closing due to inactivity.

I assume that the -q --quiet option works correctly. Let me know if it doesn't.