Page History
...
Q: is it ok to save logs in repo
...
?
A: if repodir is changed path will be loss along with local location. It would be nice to have record on start in well known static directory. Each record points to the main log file etc.
Logging on start records
Is intended to keep all records on start for all scripts in a single place.
Root directory is intended to be hardwired, e.g.
/cds/group/psdm/logs/calib/lcls2/
Further path<year
/cds/group/psdm/logs/calib/lcls2/<year>/<year>-log-on-start-<script-name>.txt - single file per year per script.
Repository
Root directory
-o, --dirrepo
/cds/group/psdm/detector/gains2/<detector-type>/panels/
/cds/group/psdm/detector/gains2/<detector-type>/panels/<panel-id>,
where <detector-type> e.g. epix10ka
Main logs
/cds/group/psdm/detector/gains2/<detector-type>/panels/logs/<year>/<time-stamp>-<script-name>-<login>.txt