Opened 14 months ago

Closed 11 months ago

Last modified 10 months ago

#67955 closed enhancement (fixed)

startupitem: enhancement: logfile should also log stderr

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone: MacPorts 2.9.0
Component: base Version: 2.8.1
Keywords: startupitem Cc: neverpanic (Clemens Lang), herbygillot (Herby Gillot)
Port:

Description (last modified by mascguy (Christopher Nielsen))

startupitem.logfile: This option only enables stdout logging, via StandardOutPath. It should also log to stderr, via StandardErrorPath.

AFAIK (?) - and based on local testing - it appears that it's OK to log both to the same file. But if anyone's aware of any cases where that can be problematic, please don't hesitate to speak up.

Change History (8)

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase

Ability to set user/group for startupitems was added in MacPorts 2.7.0; see #13807.

comment:2 in reply to:  1 Changed 13 months ago by mascguy (Christopher Nielsen)

Cc: herbygillot added

Replying to ryandesign:

Ability to set user/group for startupitems was added in MacPorts 2.7.0; see #13807.

Of note, this functionality is not documented in either the MacPorts guide, nor in the manpage for portfile.

If it was at least documented in the latter, that would be forgivable. But it's completely undocumented?

comment:3 Changed 13 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)
Summary: startupitem: enhancements: logfile should also log to stderr; add user/group capabilitiesstartupitem: enhancement: logfile should also log to stderr

comment:4 Changed 13 months ago by mascguy (Christopher Nielsen)

Owner: set to mascguy
Status: newassigned

comment:5 Changed 13 months ago by mascguy (Christopher Nielsen)

Summary: startupitem: enhancement: logfile should also log to stderrstartupitem: enhancement: logfile should also log stderr

comment:6 Changed 11 months ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In e70a512aa45b88b8c1bc126fd1a67d0b68c1fdd9/macports-base (master):

startupitem: add new option startupitem.logfile.stderr

Fixes: #67955

comment:7 Changed 11 months ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:8 Changed 10 months ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.9.0
Note: See TracTickets for help on using tickets.