Project

General

Profile

Bug #11819

svcs -L should check for alt_logfile

Added by John Levon about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
#1

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).

#2

Updated by Electric Monk about 1 year 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>

Also available in: Atom PDF