svcs -L should check for alt_logfile
Updated by John Levon about 1 year 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 about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit bc76be35ed72509d0c7f9ef22f0b4c57ea665703 Author: John Levon <email@example.com> Date: 2019-10-16T14:04:56.000Z 11819 svcs -L should check for alt_logfile Reviewed by: Jason King <firstname.lastname@example.org> Reviewed by: Andy Fiddaman <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>