logging is inconsistent between ubuntu-cli and ubuntu-application

Reported by Tony Byrne on 2011-10-27
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quickly
Undecided
Unassigned

Bug Description

a ubuntu-cli project uses -d to turn on debugging but ubuntu-application uses -v and -vv to turn on logging

When ubuntu-application template acquired the concept of a quickly supplied library, logging split into -v for user supplied code and -vv for user and library supplied code. -d became meaningless and was dropped
for ubuntu-cli projects the original api remains, -d for debug or -vvv for debug
all the templates should behave in a similar way

$ quickly create ubuntu-application showlog
$ cd showlog/
$ quickly run -d
Usage: showlog [options]

showlog: error: no such option: -d
tony@tony-Aspire-5810T:~/concepts/showlog$ quickly run -v
DEBUG:showlog: set_up_logging() 'logging enabled'
$ quickly run -vv
DEBUG:showlog: set_up_logging() 'logging enabled'
<snip> verbose debug information </snip>

$ quickly create ubuntu-cli console
$ cd console/
$ quickly run -d
I'm launched and my args are:
2011-10-27 23:55:48,809 DEBUG end of prog

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions