update logging to new API