bugGnash - The GNU Flash player - Bugs: bug #40487, "verbosity" != 0 in...

 
 

bug #40487: "verbosity" != 0 in .gnashrc prevents commandline override

Submitter:  Sandro Santilli <strk>
Submitted:  Wed 06 Nov 2013 08:20:29 AM UTC
   
 
Category:  core Severity:  3 - Normal
Release:  master Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 23 Sep 2015 02:49:49 PM UTC, comment #3: 

Note (as a reminder):
The committed patch #8752 makes command line-specified logging verbosity
override the configuration file-specified one.

It doesn't provide a way to override verbosity *to zero* yet; due to
complications written on comment 1 combined with the way Gnash
currently use libboost-program-options. It may require a substantial change
to accommodate the inclusion of `-q`/`--quiet` switch.

Also, the logging verbosity slider in Edit > Preferences dialog won't show
the overridden verbosity yet. (It still show the value in configuration file)

Gnash: 0.8.11dev (git f0f66ce 23-Sep-2015)
System: Debian GNU/Linux 7.0 Wheezy i386

Nutchanon Wetchasit <nachanon>
Wed 23 Sep 2015 02:26:28 PM UTC, comment #2: 

I like the -q idea to force verbosity to 0.
A Player category can only be added by Rob (are you reading this, Rob ?)

Sandro Santilli <strk>
Group Member
Sun 20 Sep 2015 05:34:06 PM UTC, comment #1: 

Still reproducible under current git Gnash version; when non-zero verbosity
is set via Edit > Preferences, `-v` specified on command line are ignored
no matter it have a higher verbosity or not.

I have thought of two ways to resolve this; either...

  • A quick and dirty way: just allow command line `-v`/`--verbose` option to raise verbosity from the one set in `.gnashrc`. This one can actually be fixed using a one-line patch. Or...
  • An ideal way: make command line option always override verbosity set from `.gnashrc`. This one is slightly complicated, as...
    • Currently, Gnash reads verbosity from the command line before checking .gnashrc.
    • There should be a way to override verbosity to zero; a `-q`,`--quiet` option, maybe?


Gnash: 0.8.11dev (git 516a6ca 15-Sep-2015)
System: Debian GNU/Linux 7.0 Wheezy i386

Nutchanon Wetchasit <nachanon>
Wed 06 Nov 2013 08:20:29 AM UTC, original submission:  

If "set verbosity N" is found in .gnashrc and N != 0 then you cannot raise verbosity with -v switch.

Pretty frustrating not to see debugs when runnign with -vv.
Commandline should always override directives.

PS we need a "player" category

Sandro Santilli <strk>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nachanon (Posted a comment)
  • -email is unavailable- added by strk (Submitted the item)
  • -email is unavailable- added by strk
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-06 strk Carbon-Copy- Added gg0

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code