logging is inconsistent between ubuntu-cli and ubuntu-application

Bug #882842 reported by Tony Byrne on 2011-10-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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

Related branches

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

Other bug subscribers

Related questions