Static directory initialization error - added logging