error logging
private deployment (not working)