added show_logs in proc2.sql