Logging almost done