diff options
| author | Ken Pepple <ken.pepple@gmail.com> | 2011-04-08 20:52:39 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-04-08 20:52:39 +0000 |
| commit | d36a324b97d014fe5407451556534acca5022113 (patch) | |
| tree | d34467dcf90ea4a156cc1eb41f5dfc7f8d15c16b | |
| parent | 2a14bc00c0abd1e2d0349ace99db7aa922b5f574 (diff) | |
| parent | a52a28ab946c326e4299d883132400dcca0d03d9 (diff) | |
| download | nova-d36a324b97d014fe5407451556534acca5022113.tar.gz nova-d36a324b97d014fe5407451556534acca5022113.tar.xz nova-d36a324b97d014fe5407451556534acca5022113.zip | |
removes log command from nova-manage as it no longer worked in multi-log setup
| -rwxr-xr-x | bin/nova-manage | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/nova-manage b/bin/nova-manage index bac291c01..f798434c6 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -701,15 +701,6 @@ class ServiceCommands(object): {"method": "update_available_resource"}) -class LogCommands(object): - def request(self, request_id, logfile='/var/log/nova.log'): - """Show all fields in the log for the given request. Assumes you - haven't changed the log format too much. - ARGS: request_id [logfile]""" - lines = utils.execute("cat %s | grep '\[%s '" % (logfile, request_id)) - print re.sub('#012', "\n", "\n".join(lines)) - - class DbCommands(object): """Class for managing the database.""" @@ -1049,7 +1040,6 @@ CATEGORIES = [ ('network', NetworkCommands), ('vm', VmCommands), ('service', ServiceCommands), - ('log', LogCommands), ('db', DbCommands), ('volume', VolumeCommands), ('instance_type', InstanceTypeCommands), |
