Actions
Bug #11819
closedsvcs -L should check for alt_logfile
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Updated by John Levon almost 4 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 almost 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit bc76be35ed72509d0c7f9ef22f0b4c57ea665703
commit bc76be35ed72509d0c7f9ef22f0b4c57ea665703 Author: John Levon <john.levon@joyent.com> Date: 2019-10-16T14:04:56.000Z 11819 svcs -L should check for alt_logfile Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.net> Approved by: Dan McDonald <danmcd@joyent.com>
Actions