Modify

Ticket #216 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

--verbosity=0 doesn't really make South silent

Reported by: juan@… Owned by: andrew
Priority: minor Milestone: 0.6
Component: commands Version: 0.6-pre
Keywords: Cc: simon@…

Description

Reproduction steps:

  1. Run manage.py migrate or manage.py syncdb --migrate
  2. Run 1. with --verbosity=0
  3. Run 1. with --verbosity=2

Expected result:

  1. You should see minimal output that lets you know that South is doing something
  2. You should see no output from South
  3. You should see debug output from South

Actual result:

  1. You see a whole bunch of SQL statements
  2. You see South telling you which commands it's about to run
  3. Everything is fine. :)

Notes:

Attached is a patch that makes South less verbose when you want it to be less verbose.

As well, it no longer eats warnings or errors, when --verbosity=0, which it used to do. :(

Attachments

verbosity.patch (14.7 KB) - added by juan@… 5 years ago.
verbosity-tests.patch (4.2 KB) - added by juan@… 5 years ago.

Change History

Changed 5 years ago by juan@…

comment:1 Changed 5 years ago by andrew

  • Status changed from new to closed
  • Version set to Mercurial tip
  • Resolution set to fixed
  • Milestone set to 0.6

Looks good, committed in [c6c31ef2a3e2] (with a minor tweak or two).

comment:2 Changed 5 years ago by juan@…

We noticed that we forgot to update some unittests. Below is a new patch just to fix up the tests.

Changed 5 years ago by juan@…

comment:3 Changed 5 years ago by andrew

Ah, I already fixed those in a later commit a while ago :)

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.