default verbosity semantics are not documented #299

Open
opened 2024-05-11 03:56:36 +00:00 by qyriad · 0 comments
Owner

we've been second-guessing ourselves for ages on this, but it turns out it's actually just not straightforward. as far as we can tell, lix's verbosity generally defaults to info, unless it's a nix3 command and stderr is a tty, in which case it defaults to notice

meanwhile, the docs just say that "informational" messages is the default verbosity, and have no mention of a "notice" log level

the docs also say that the level lower than the default is "errors only", while a "warning" log level certainly exists in Lix, though I couldn't be certain these two somehow are not contradictory

we've been second-guessing ourselves for ages on this, but it turns out it's actually just not straightforward. as far as we can tell, lix's verbosity generally defaults to *info*, unless it's a nix3 command *and* stderr is a tty, in which case it defaults to *notice* meanwhile, the docs just say that "informational" messages is the default verbosity, and have no mention of a "notice" log level the docs also say that the level lower than the default is "errors only", while a "warning" log level certainly exists in Lix, though I couldn't be certain these two somehow are not contradictory
qyriad added the
docs
label 2024-05-11 03:56:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#299
No description provided.