Add config setting for max retained log messages

Signed-off-by: Mike Gehard <mgehard@pivotallabs.com>