--log-file LOG_FILE option does not work with designate cli commands

Bug #1512647 reported by sonu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-designateclient
Invalid
Undecided
Unassigned

Bug Description

while using --log-file option with designate cli we get an empty log file.

Output does not get logged into the specified file.

The bug can be reproduced as follows:

$ designate --log-file output.log domain-create --name vyom1.org. --email <email address hidden>

+-------------+--------------------------------------+
| Field | Value |
+-------------+--------------------------------------+
| description | None |
| created_at | 2015-11-03T10:14:33.000000 |
| updated_at | None |
| email | <email address hidden> |
| ttl | 3600 |
| serial | 1446545673 |
| id | 61399d8a-6e37-4f46-8416-ea79660b39f8 |
| name | vyom1.org. |
+-------------+--------------------------------------+

$ ls -l output.log
-rw-rw-r-- 1 vyom vyom 0 Nov 3 05:14 output.log

Revision history for this message
Tim Simmons (timsim) wrote :

The --log-file isn't for output of commands, it's for the client's actual logs.

Changed in python-designateclient:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.