grant write permission for logging