Replaced trace messages with Logger.log