load IRC logs onto a database