more logging and more structures in the elastic package