[INSTRM-1524] oneCmd log file names: include fractional seconds Created: 11/Feb/22 Updated: 11/Feb/22 Resolved: 11/Feb/22 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | tron_actorcore |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | hassan | Assignee: | hassan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Story Points: | 1 | ||||||||
| Description |
|
Each oneCmd invocation makes a log file, but the naming convention is such that the time resolution is integer seconds. This means that invocations faster than 1 sec will lead to overwrites of the same file and errors such as that reported in File "/software/mhs/products/Linux64/tron_actorcore/2.2.8/python/opscore/utility/sdss3logging.py", line 185, in doRollover raise RuntimeError("logfile %s already exists. Would append to it." % (path)) RuntimeError: logfile /software/mhs/logs/actors/oneCmd/2022-02-08T06:33:15.log already exists. Would append to it. Please add fractional seconds to the log file name. |
| Comments |
| Comment by hassan [ 11/Feb/22 ] |
|
Merged to master. |