Project

General

Profile

Actions

Bug #11819

closed

svcs -L should check for alt_logfile

Added by John Levon almost 4 years ago. Updated almost 4 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Actions #1

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

Actions #2

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

Also available in: Atom PDF