make syslog works with multisite system.

make syslog works with multisite system.
update multisite tables.