logname and sync