Opened 7 weeks ago

Last modified 6 weeks ago

#67955 assigned enhancement

startupitem: enhancement: logfile should also log stderr

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
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 (5)

comment:1 Changed 7 weeks ago by ryandesign (Ryan 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 7 weeks 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 7 weeks 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 6 weeks ago by mascguy (Christopher Nielsen)

Owner: set to mascguy
Status: newassigned

comment:5 Changed 6 weeks ago by mascguy (Christopher Nielsen)

Summary: startupitem: enhancement: logfile should also log to stderrstartupitem: enhancement: logfile should also log stderr
Note: See TracTickets for help on using tickets.