initialized $log arrays

Not initializing seems to cause an error in powershell v2