swapped console.log for server.log