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


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

Submitted by:  Sandro Santilli <strk>
Submitted on:  Wed 06 Nov 2013 08:20:29 AM UTC  
Category: coreSeverity: 3 - Normal
Release: masterStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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>
Project Member


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 06 Nov 2013 08:20:29 AM UTCstrkCarbon-Copy-=>Added gg0

    Back to the top

    Powered by Savane 3.1-cleanup