Commit bd44692
committed
Fix logger symlink setup
Currently we check the for the existence of the log file the symlink is
pointing to before removing the symlink. This could lead to weird issues
when a log file was removed, as we'd then never remove and update the
symlink.
Here, we remove the superfluous check and just check that the path in
question is indeed a symlink before removing it.
While we're at it we introduce some logging to `stderr` that might help
debug issues arising during logger setup.1 parent ed6c529 commit bd44692
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
0 commit comments