-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tidy of log directory #4802
Comments
diff --git a/tmpb4 b/after
index dcef6ad3..066b6daf 100644
--- a/tmpb4
+++ b/after
@@ -1,7 +1,7 @@
$ tree log
log
├── db
-├── flow-config
+├── config
│ ├── 20220406T124846Z-start.cylc
│ ├── 20220406T124905Z-restart.cylc
│ ├── 20220406T124913Z-reload.cylc
@@ -37,10 +37,11 @@ log
│ │ ├── job.status
│ │ └── job.xtrace
│ └── NN -> 01
-└── workflow
- ├── file-installation-log -> file-installation-log.20220406T134924+01
- ├── file-installation-log.20220406T134850+01
- ├── file-installation-log.20220406T134924+01
+└── scheduler
├── log -> log.20220406T134905+01
├── log.20220406T134846+01
- └── log.20220406T134905+01
\ No newline at end of file
+ ├── log.20220406T134905+01
+ ├── remote-install-log -> remote-install-reload-log.20220406T134924+01
+ ├── remote-install-start-log.20220406T134850+01
+ ├── remote-install-restart-log.20220406T134950+01
+ └── remote-install-reload-log.20220406T134924+01
\ No newline at end of file
|
We label the other files according to whether it's a start or restart.
|
Further suggestion, move the remote-install logs to their own directory and have one per platform.
Having one file per remote-install would help with debugging and enable us to solve the problem of closing the file handles (which currently need to be kept open until shutdown). |
So, the proposal is now:
@hjoliver please remove the question label if you're happy |
Sorry, that should have been |
Discussed in UK Team meeting:
The log directory has some discrepancies which should be tidied before release.
Renaming:
Timestamps should be consistently at the beginning or end of the log (to be decided) and for file installation and config should include <start/restart/reload> as appropriate.
The config files end in .cylc currently which is why they currently have the date stamp at the beginning of the file name.
Note the timestamp also differs between logs, although the log is created before config load so tricky to know what is the preferred time zone.
Note that this change will have implications for cylc-review.
Before:
Proposed After:
Could potentially be tackled at the same time as: #4314
The text was updated successfully, but these errors were encountered: