log to shared