Add startup and shutdown banners in the logfile

Change-Id: Ie4a5a46a752b7e18af1921bf570eb49291df4c10
diff --git a/vland.py b/vland.py
index 5867834..83078c4 100644
--- a/vland.py
+++ b/vland.py
@@ -108,6 +108,13 @@
                         datefmt = '%Y-%m-%d %H:%M:%S %Z',
                         filename = state.config.logging.filename,
                         filemode = 'a')
+    logging.info('%s starting up', state.banner)
+    switches = state.db.all_switches()
+    logging.info('  DB knows about %d switches', len(switches))
+    ports = state.db.all_ports()
+    logging.info('  DB knows about %d ports', len(ports))
+    vlans = state.db.all_vlans()
+    logging.info('  DB knows about %d vlans', len(vlans))
 
 # Now start up the core loop. Listen for command connections and
 # process them
@@ -201,4 +208,13 @@
 
 # We've been asked to shut down. Do that as cleanly as we can
 ipc.server_close()
+
+logging.info('%s shutting down', state.banner)
+switches = state.db.all_switches()
+logging.info('  DB knows about %d switches', len(switches))
+ports = state.db.all_ports()
+logging.info('  DB knows about %d ports', len(ports))
+vlans = state.db.all_vlans()
+logging.info('  DB knows about %d vlans', len(vlans))
+
 logging.shutdown()