From 71afc7074bf5854776c9e24f90c234099b4be312 Mon Sep 17 00:00:00 2001 From: James Turk Date: Tue, 2 Aug 2011 14:56:53 -0400 Subject: [PATCH] we don't need a shell for now --- README.rst | 5 ----- oyster/bin/shell.py | 7 ------- oyster/templates/logs.html | 22 ++++++++++++++++++++++ 3 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 oyster/bin/shell.py create mode 100644 oyster/templates/logs.html diff --git a/README.rst b/README.rst index 05cf16f..2839317 100644 --- a/README.rst +++ b/README.rst @@ -15,11 +15,6 @@ Source is available via `GitHub `_ TODO ==== -* turn daemon code into a real oysterd -* internal logging -* oyster shell commands - * status - * track * oysterweb * dashboard * errors diff --git a/oyster/bin/shell.py b/oyster/bin/shell.py deleted file mode 100644 index 70faa94..0000000 --- a/oyster/bin/shell.py +++ /dev/null @@ -1,7 +0,0 @@ -from ..client import Client - -if __name__ == '__main__': - c = Client() - - print 'Tracking:', c.db.tracked.count() - print 'Waiting In Queue:', c.get_update_queue_size() diff --git a/oyster/templates/logs.html b/oyster/templates/logs.html new file mode 100644 index 0000000..1134929 --- /dev/null +++ b/oyster/templates/logs.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + {% for log in logs %} + + + + + + + {% endfor %} +
erroractiondescriptiontimestamp
{% if log.error %}{{log.error}}{% endif %}{{log.action}}{{log.url}}{{log.timestamp}}
+ +