Commit 18cc911
Fix file mode for console output log
This change fixes the file open mode for the compute
console output log. The log was being opened in write
mode instead of append mode. This would cause the log
file to be truncated on every iteration of the
clustermgtd loop.
Signed-off-by: David Pratt <[email protected]>1 parent c6d47ff commit 18cc911
File tree
2 files changed
+3
-3
lines changed- src/slurm_plugin/logging
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
0 commit comments