svcs -L should check for alt_logfile
Updated by John Levon over 2 years ago
svcs -L only looks for the "logfile" property. When a service instance doesn't have that property, we should
look for "alt_logfile" instead, rather than reporting nothing.
Note that we intentionally don't support reporting both logs, even when they both exist: the logfile is likely
to be most relevant, and I don't want to risk breaking any scripting here (even though tail can handle multiple input files just fine).
Updated by Electric Monk over 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit bc76be35ed72509d0c7f9ef22f0b4c57ea665703 Author: John Levon <firstname.lastname@example.org> Date: 2019-10-16T14:04:56.000Z 11819 svcs -L should check for alt_logfile Reviewed by: Jason King <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>