Opened 14 months ago

Last modified 10 months ago

#67955 closed enhancement

startupitem: enhancement: logfile should also log to stderr — at Version 3

Reported by: mascguy (Christopher Nielsen) Owned by:
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 (3)

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 14 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
Note: See TracTickets for help on using tickets.