toggle ddr views
query limit added for logs