nunit-console icon indicating copy to clipboard operation
nunit-console copied to clipboard

What should the default setting be for internal trace logging?

Open CharliePoole opened this issue 2 weeks ago • 3 comments

Historically, the console runner has used "Off" as the default for internal trace logging.

An argument can be made that "Error" or even "Warning" is a better choice and that turning all logging off should require a user decision.

@nunit/engine-team @nunit/core-team What do you think?

CharliePoole avatar Dec 07 '25 19:12 CharliePoole

A default level of Warning makes sense to me as anything at that level or higher may require scrutiny to ensure everything is as it should be.

Logging could then be made more verbose for situations or users who require it, or even off based on preferences.

stevenaw avatar Dec 08 '25 22:12 stevenaw

We have warning as our default log level for many of our services so having the same for test libraries seems totally reasonable.

veleek avatar Dec 11 '25 02:12 veleek

I'll go with Warning then.

CharliePoole avatar Dec 11 '25 03:12 CharliePoole