The logs are located under /var/log/syncplanet
on the machines where the SyncPlanet agents are running. 2 types of logs exist: the scan logs and the sync logs. The sync log files store entries for every transfers, dates, file names, sizes and network bandwidth.
The log files are text files generated using the current date and the volume as file name <date>_sync_<site>.log
, using this shell format:
$(date +%y%m%d)_sync_$siteName.log
.- the year last 2 digits
| .- the month number 2 digits
| | .- the day of month 2 digits
| | | .- the volume's name
| | | |
200514_sync_lestudio.log
Here is a piece of the 200514_sync_lestudio.log
log file:
2020/05/14 06:23:04 [9055] building file list
2020/05/14 06:23:04 [9055] 8 files to consider
2020/05/14 06:23:04 [9055] .d..t...... 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0025/COMP/WIP/
2020/05/14 06:23:04 [9055] <f+++++++++ 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0025/COMP/WIP/mice_comp_seq035_sh0025_take004_001_mhd.nk
2020/05/14 06:23:04 [9055] <f+++++++++ 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0025/COMP/WIP/mice_comp_seq035_sh0025_take004_001_usr.nk
2020/05/14 06:23:04 [9055] sent 25,354 bytes received 57 bytes 50,822.00 bytes/sec
2020/05/14 06:23:04 [9055] total size is 74,367 speedup is 2.93
2020/05/14 06:51:30 [16925] building file list
2020/05/14 06:51:30 [16925] 1248 files to consider
2020/05/14 06:51:30 [16925] .d..t...... 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0023/COMP/
2020/05/14 06:51:30 [16925] cd+++++++++ 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0023/COMP/PUBLISH/
2020/05/14 06:51:30 [16925] cd+++++++++ 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0023/COMP/PUBLISH/001/
2020/05/14 06:51:30 [16925] <f+++++++++ 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0023/COMP/PUBLISH/001/mice_comp_seq035_sh0023_take002_001_mhd.nk
2020/05/14 06:51:30 [16925] .d..t...... 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0027/COMP/
2020/05/14 06:51:30 [16925] cd+++++++++ 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0027/COMP/PUBLISH/
2020/05/14 06:51:30 [16925] cd+++++++++ 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0027/COMP/PUBLISH/001/
2020/05/14 06:51:30 [16925] <f+++++++++ 2018-10_MICE_NUKE/COMPOS/SEQ035/SH0027/COMP/PUBLISH/001/mice_comp_seq035_sh0027_take002_001_mhd.nk
2020/05/14 06:51:30 [16925] .d..t...... DATABASE/03_SHOTS/SEQ014B/SH0022/10_RND/01_RENDERS/
2020/05/14 06:51:30 [16925] cd+++++++++ DATABASE/03_SHOTS/SEQ014B/SH0022/10_RND/01_RENDERS/REFLECTION_MASK_02/
2020/05/14 06:51:30 [16925] cd+++++++++ DATABASE/03_SHOTS/SEQ014B/SH0022/10_RND/01_RENDERS/REFLECTION_MASK_02/beauty/
2020/05/14 06:51:30 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ014B/SH0022/10_RND/01_RENDERS/REFLECTION_MASK_02/beauty/REFLECTION_MASK_02_beauty_1001.exr
2020/05/14 06:51:30 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ014B/SH0022/10_RND/01_RENDERS/REFLECTION_MASK_02/beauty/REFLECTION_MASK_02_beauty_1002.exr
2020/05/14 06:51:31 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ014B/SH0022/10_RND/01_RENDERS/REFLECTION_MASK_02/beauty/REFLECTION_MASK_02_beauty_1003.exr
2020/05/14 06:51:31 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ014B/SH0022/10_RND/01_RENDERS/REFLECTION_MASK_02/beauty/REFLECTION_MASK_02_beauty_1004.exr
2020/05/14 06:51:31 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ014B/SH0022/10_RND/01_RENDERS/REFLECTION_MASK_02/beauty/REFLECTION_MASK_02_beauty_1005.exr
2020/05/14 06:51:31 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ014B/SH0022/10_RND/01_RENDERS/REFLECTION_MASK_02/beauty/REFLECTION_MASK_02_beauty_1006.exr
...
2020/05/14 06:52:22 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ067/SH0028/10_RND/01_RENDERS/OLD/N/PARTICLES_N_1162.exr
2020/05/14 06:52:22 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ067/SH0028/10_RND/01_RENDERS/OLD/N/PARTICLES_N_1163.exr
2020/05/14 06:52:22 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ067/SH0028/10_RND/01_RENDERS/OLD/N/PARTICLES_N_1164.exr
2020/05/14 06:52:22 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ067/SH0028/10_RND/01_RENDERS/OLD/N/PARTICLES_N_1165.exr
2020/05/14 06:52:22 [16925] <f+++++++++ DATABASE/03_SHOTS/SEQ067/SH0028/10_RND/01_RENDERS/OLD/N/PARTICLES_N_1166.exr
2020/05/14 06:52:22 [16925] sent 591,951,568 bytes received 23,103 bytes 11,064,947.12 bytes/sec
2020/05/14 06:52:22 [16925] total size is 656,568,648 speedup is 1.11
To understand the format used, please look at rsync manual page or this thread:
https://stackoverflow.com/questions/4493525/what-does-f-mean-in-rsync-logs#12037164
This directory is available from your SFTP account under /.syncplanet_log/
.
$ sftp username@cyberstorage.syncplanet.io
sftp> cd /.syncplanet_log/
For instance sync_190617_feitong.log
contains the details for the last file sent by Feitong:
2019/06/20 13:37:46 [32265] receiving file list
2019/06/20 13:37:47 [32265] 6 files to consider
2019/06/20 13:37:47 [32265] delta-transmission enabled
2019/06/20 13:41:19 [32288] >f.st...... To_Publish/FG/Shot/Shot/Layout-Line/109s2740.psd
2019/06/20 13:41:20 [32288] total: matches=1217 hash_hits=57354 false_alarms=0 data=2242054
2019/06/20 13:41:20 [32288] sent 13,250 bytes received 1,038,733 bytes 4,792.63 bytes/sec
2019/06/20 13:41:20 [32288] total size is 4,879,709 speedup is 4.64
The last transfer was 4,7KB/s (which is very slow).
The transfer logs store the rsync activity as text files. They are useful to view and debug the activity of a link, its bandwidth, to track a file and deliveries.
The log files are located in the .syncp/log/
in the project's root directory.
The log filenames use the current date and the volume as file name, using this shell format:
Using Shell format:
$(date +%y%m%d)_sync_${volume}.log
| .- the month number 2 digits
| | .- the day of month 2 digits
| | | .- the volume's name
| | | |
Les journaux de synchronisation permettent de garder un enregistrement de l'activité pour chaque fichier transféré et pour chaque lien sous la forme de fichiers textes.
Les journaux sont situés dans le dossier du projet, sous le répertoire /.syncp/log/
. Chaque fichier de journal correspond à l'activité d'un lien, un jour donné, nommé ainsi: <DATE>_sync_<LINKID>.log
.
230206_sync_lnk_01G0J7TFMDMQVQKEDXSPMMHQ2Q.log
| | | |
| | | link id
| | day 2 digits
| month 2 digits
year 2 digits
Analysons le contenu du fichier /.syncp/log/230206_sync_lnk_01G5RKC1ME8EJM2XY34Q7FZYW5.log
. Il contient ces 2 premières lignes:
2023/02/06 00:01:26 [778698] building file list
2023/02/06 00:09:06 [778698] sent 13899793 bytes received 22841 bytes total size 379758698250
La première itération ce jour à eu lieu à minuit 1 minute et 26 secondes. rsync commence par lister les fichiers et leurs attributs (building file list) sur l'envoyeur et sur le receveur. 7 minutes plus tard il écrit sont rapport (la comparaison de ces listes de part et d'autre n'a pas déclenché de transfert selon les options définies pour ce lien). Les prochaines itérations ont lieu toutes les 8 minutes environ, pour une durée similaire, toujours sans transfert de fichiers:
2023/02/06 00:20:40 [781381] building file list
2023/02/06 00:28:18 [781381] sent 13900321 bytes received 23369 bytes total size 379758698250
2023/02/06 00:39:37 [784064] building file list
2023/02/06 00:48:54 [784064] sent 13900165 bytes received 23213 bytes total size 379758698250
2023/02/06 00:58:58 [786747] building file list
2023/02/06 01:06:37 [786747] sent 13899773 bytes received 22821 bytes total size 379758698250
2023/02/06 01:17:49 [789430] building file list
2023/02/06 01:25:55 [789430] sent 13899733 bytes received 22781 bytes total size 379758698250
2023/02/06 01:36:44 [792113] building file list
2023/02/06 01:45:33 [792113] sent 13899441 bytes received 22489 bytes total size 379758698250
[...]
Les premières actions sur le receveur ont été déclenchées par l'itération qui a démarré à 5h08 (heure GMT). Ces actions ont été faites:
pub/3d/asset/chr/fourmi-General/shd/unreal/export/w008/
chr_fourmi-General_material_instances.json
dans ce dossierprp_chaiseBebe-A_rig_lo_r008.mb
dans un dossier existant pub/3d/asset/prp/chaiseBebe-A/rig/maya/
2023/02/06 05:08:46 [821716] building file list
2023/02/06 05:09:08 [821716] cd+++++++++ pub/3d/asset/chr/fourmi-General/shd/unreal/export/w008/
2023/02/06 05:09:08 [821716] <f+++++++++ pub/3d/asset/chr/fourmi-General/shd/unreal/export/w008/chr_fourmi-General_material_instances.json
2023/02/06 05:09:19 [821716] <f+++++++++ pub/3d/asset/prp/chaiseBebe-A/rig/maya/prp_chaiseBebe-A_rig_lo_r008.mb
2023/02/06 05:16:44 [821716] sent 14049019 bytes received 22807 bytes total size 379759369159
À 8:01, nous avons des actions similaires, puis nous avons un fichier pour lequel est spécifié <f..t......
: il a été mis à jour sur le receveur car sa date mtime (t
, son timestamp) a été modifiée, puis pour un autre fichier <f.st......
: il a été mis à jour car sa taille (s
, size) et sa date ont changé:
2023/02/06 08:01:47 [846943] building file list
2023/02/06 08:01:52 [846943] cd+++++++++ pub/3d/asset/bnk/brinHerbe-A/shd/
2023/02/06 08:01:52 [846943] <f+++++++++ pub/3d/asset/bnk/brinHerbe-A/shd/bnk_brinHerbe-A_shd_r001.png
2023/02/06 08:02:02 [846943] cd+++++++++ pub/3d/asset/bnk/sapin-A/shd/
2023/02/06 08:02:02 [846943] <f+++++++++ pub/3d/asset/bnk/sapin-A/shd/bnk_sapin-A_shd_r001.png
2023/02/06 08:02:10 [846943] cd+++++++++ pub/3d/asset/chr/fourmi-General/shd/unreal/export/w013/
2023/02/06 08:02:10 [846943] <f+++++++++ pub/3d/asset/chr/fourmi-General/shd/unreal/export/w013/chr_fourmi-General_material_instances.json
2023/02/06 08:02:12 [846943] <f..t...... pub/3d/asset/chr/meme-var/shd/unreal/export/w004/chr_meme-var_material_instances.json
2023/02/06 08:02:35 [846943] <f.st...... pub/3d/asset/set/DesertRencontreNuageExt/rig/maya/set_DesertRencontreNuageExt_rig_r001.ma
2023/02/06 08:07:19 [846943] cd+++++++++ pub/3d/sequence/sq0590/lay/
2023/02/06 08:07:19 [846943] cd+++++++++ pub/3d/sequence/sq0590/lay/maya/
2023/02/06 08:07:20 [846943] <f+++++++++ pub/3d/sequence/sq0590/lay/maya/sq0590_lay_r002.ma
2023/02/06 08:07:20 [846943] <f+++++++++ pub/3d/sequence/sq0590/lay/maya/sq0590_lay_sh0110_r002.mov
2023/02/06 08:07:20 [846943] <f+++++++++ pub/3d/sequence/sq0590/lay/maya/sq0590_lay_sh0112_r002.mov
2023/02/06 08:07:20 [846943] <f+++++++++ pub/3d/sequence/sq0590/lay/maya/sq0590_lay_sh0114_r002.mov
2023/02/06 08:07:20 [846943] <f+++++++++ pub/3d/sequence/sq0590/lay/maya/sq0590_lay_sh0120_r002.mov
2023/02/06 08:11:34 [846943] sent 33986231 bytes received 23780 bytes total size 379946073466
Ces fichiers sont générés sur le serveur où les commandes rsync sont executées, et peuvent être transmis comme les autres fichiers du projet, vers les volumes distants ayant besoin d'accéder aux journaux.
+ /.syncp/
+ /.syncp/log/
+ /.syncp/log/**