Opened 18 years ago
#1146 new enhancement
pantasks should store command lines of commands it issues in a log file
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | PanTasks | Version: | 2.6 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
Maybe I missed it, but none of the log files produced by pantasks reductions seem to contain the full command issued by pantasks. E.g. I am looking at a log file for the chip stage after pantasks tells me things like
system failure for: chip_imfile.pl --threads @MAX_THREADS@ --exp_id 32 --chip_id 32 --class_id CHIP2 --uri path://S82IN/i/1755-0341/fpC-001755-i2-0341.fits --camera SDSSmosaic --run-state new --outroot path://S82AP/run_ipp//1755-0341.32/1755-0341.32.ch.32 --redirect-output --reduction SDSSphotast --dbname jester_s82_ap --verbose
but that chip_imfile.pl command line is not actually stored in the log file, nor in the pantasks_logs/chip.imfile.log, where it just says that chip_imfile.pl was started. If I catch the command as it's failing, all's well, but for something that ran over night, I have no way of retrieving the command line quickly and reproducing the error becomes difficult.
It would be most useful if the log file into which the chip_imfile.pl output goes started with that command line (above) that otherwise only appears to appear on stderr on failures.
