--verbose option is incorrectly described in CLI "--help" page #65586

Closed
opened 2019-06-07 04:07:43 +02:00 by Markus Bawidamann · 6 comments

System Information
Operating system: Linux Debian Stretch
Graphics card: Internal/Intel

Blender Version
Broken: (example: 2.80
Blender 2.80 (sub 71)

      build date: 2019-05-22
      build time: 23:51:31
      build commit date: 2019-05-22
      build commit time: 21:50
      build hash: a1ad71304c2d
      build platform: Linux

Not Worked: This was already broken in in 2.79

description:
When using the command line, the --verbose parameter does absolutely nothing, no matter what level I specify.
As described here,
https://blender.stackexchange.com/questions/3049/what-values-do-the-verbose-and-debug-value-options-accept/3063
verbose does not seem to be used in anything else than camera tracking.
The description in the --help page is misleading, it does not says this, so the user assumes that verbose applies to everything. Changing the help page and specifying that it only applies to camera tracking would help users save time by not having to experiment and waste a lot of time, then find the same stack exchange page I did.
I remember running into this years ago and I forgot about it and now it happened again. It would be very quick to just add "The verbose parameter currently only applies to camera tracking"

**System Information** Operating system: Linux Debian Stretch Graphics card: Internal/Intel **Blender Version** Broken: (example: 2.80 Blender 2.80 (sub 71) ``` build date: 2019-05-22 build time: 23:51:31 build commit date: 2019-05-22 build commit time: 21:50 build hash: a1ad71304c2d build platform: Linux ``` Not Worked: This was already broken in in 2.79 description: When using the command line, the --verbose parameter does absolutely nothing, no matter what level I specify. As described here, https://blender.stackexchange.com/questions/3049/what-values-do-the-verbose-and-debug-value-options-accept/3063 verbose does not seem to be used in anything else than camera tracking. The description in the --help page is misleading, it does not says this, so the user assumes that verbose applies to everything. Changing the help page and specifying that it only applies to camera tracking would help users save time by not having to experiment and waste a lot of time, then find the same stack exchange page I did. I remember running into this years ago and I forgot about it and now it happened again. It would be very quick to just add "The verbose parameter currently only applies to camera tracking"

Added subscriber: @MarkusBawidamann-4

Added subscriber: @MarkusBawidamann-4
Member

Added subscribers: @brecht, @lichtwerk

Added subscribers: @brecht, @lichtwerk
Member

Not sure if this could be considered a bug.

Perhaps this could be made clearer by stating this is for libmv only, also the value you set might be better called "level"
P996: T65586_snippet



diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index fe7f9c52f4d..29289b0cf1d 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -1417,8 +1417,8 @@ static int arg_handle_threads_set(int argc, const char **argv, void *UNUSED(data
 }
 
 static const char arg_handle_verbosity_set_doc[] =
-    "<verbose>\n"
-    "\tSet logging verbosity level.";
+    "<level>\n"
+    "\tSet logging verbosity level. (libmv only atm)";
 static int arg_handle_verbosity_set(int argc, const char **argv, void *UNUSED(data))
 {
   const char *arg_id = "--verbose";

@brecht: this also seems to be used for cycles logging (if WITH_CYCLES_LOGGING is ON -- though this does not seem to have an effect, maybe I am using it wrong though...)?

Not sure if this could be considered a bug. Perhaps this could be made clearer by stating this is for libmv only, also the value you set might be better called "level" [P996: T65586_snippet](https://archive.blender.org/developer/P996.txt) ``` diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index fe7f9c52f4d..29289b0cf1d 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1417,8 +1417,8 @@ static int arg_handle_threads_set(int argc, const char **argv, void *UNUSED(data } static const char arg_handle_verbosity_set_doc[] = - "<verbose>\n" - "\tSet logging verbosity level."; + "<level>\n" + "\tSet logging verbosity level. (libmv only atm)"; static int arg_handle_verbosity_set(int argc, const char **argv, void *UNUSED(data)) { const char *arg_id = "--verbose"; ``` @brecht: this also seems to be used for cycles logging (if WITH_CYCLES_LOGGING is ON -- though this does not seem to have an effect, maybe I am using it wrong though...)?
Brecht Van Lommel was assigned by Sebastian Parborg 2019-06-14 11:41:08 +02:00
Brecht Van Lommel removed their assignment 2019-06-14 11:46:14 +02:00
Sergey Sharybin was assigned by Brecht Van Lommel 2019-06-14 11:46:14 +02:00

This isn't Libmv only. everything what depends on Glog will be affected. This includes Ceres, Cycles, Libmv. Keep in mind, Ceres is not only used by Libmv.

I also don't find it a bug that --verbose by itself does nothing. There are so many areas in Blender, that would simply bloat the output. You need to use --debug-FOO to enable logging in that area, and then within that area (if it supports that).

This isn't Libmv only. everything what depends on Glog will be affected. This includes Ceres, Cycles, Libmv. Keep in mind, Ceres is not only used by Libmv. I also don't find it a bug that `--verbose` by itself does nothing. There are so many areas in Blender, that would simply bloat the output. You need to use `--debug-FOO` to enable logging in that area, and then within that area (if it supports that).

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Committed fixes at 0511de99bb and e8cb477f8a, so hopefully everything works correct,m according to the design and is clear for usage.

Thanks for the report.

Committed fixes at 0511de99bb and e8cb477f8a, so hopefully everything works correct,m according to the design and is clear for usage. Thanks for the report.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
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: blender/blender#65586
No description provided.