Jag/captiveportal privatelogs

Fixed Log4perl configuration and initialization. Log directory	  permissions made more restrictive.