Changed logging path and reverted some ill-advised changes; now sends
logs to the AI server, using Glassfish.