write logging info as meta keys