Logging updated for v3 and ES