added api log command to irc