Update server.js

Change log directory