Anonymous | Login | 2023-12-05 12:30 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000917 | [1003.1(2013)/Issue7+TC1] Shell and Utilities | Editorial | Enhancement Request | 2015-02-02 11:30 | 2020-04-03 15:15 | ||
Reporter | rhymoid | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Applied | ||||||
Name | Stijn van Drongelen | ||||||
Organization | |||||||
User Reference | |||||||
Section | logger | ||||||
Page Number | 2878-2879 | ||||||
Line Number | 94786-94861 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | Note: 0002626 | ||||||
Summary | 0000917: specified 'logger' does not match actual usage | ||||||
Description |
After a bit of searching, it seems that UnixWare is the only software distribution that claims POSIX adherence _and_ implements a truly POSIX-compliant version of the 'logger' utility. Any other distribution seems to follow BSD's lead, because that variant is simply more useful. Unlike the specified logger, BSD's logger conforms to the Utility Syntax Guidelines, and seem to have a few options in common: * -f {file}: log the lines of the specified * -i: record the process ID of logger along with the message * -p {facility}.{level}: set the facility and level of the logged message; defaults to "user.notice" * -t {tag}: tag the message (seems to default to a implementation-defined format) These options map trivially to openlog() and syslog() calls. The only weirdness is what happens when both or neither -f and a message is provided (neither: message is taken from standard input, breaking compatibility with the specified logger in yet another way; both: unspecified behaviour?). Now, as for implementation, logger should be a frontend to <syslog.h> on XSI-compliant systems, in my opinion. |
||||||
Desired Action |
* Investigate the current actual implementation of the logger utility. * Update the standard to reflect the command line syntax for logger in actual use. Preferably, follow the Utility Syntax Guidelines. * Update the standard to require equivalence to appropriate calls to openlog() and syslog() on XSI-compliant systems. |
||||||
Tags | issue8 | ||||||
Attached Files | |||||||
|
![]() |
|||
Date Modified | Username | Field | Change |
2015-02-02 11:30 | rhymoid | New Issue | |
2015-02-02 11:30 | rhymoid | Name | => Stijn van Drongelen |
2015-02-02 11:30 | rhymoid | Section | => logger |
2015-02-02 11:30 | rhymoid | Page Number | => . |
2015-02-02 11:30 | rhymoid | Line Number | => . |
2015-02-02 16:06 | geoffclare | Note Added: 0002534 | |
2015-04-02 16:45 | Don Cragun | Page Number | . => 2878-2879 |
2015-04-02 16:45 | Don Cragun | Line Number | . => 94786-94861 |
2015-04-02 16:45 | Don Cragun | Interp Status | => --- |
2015-04-16 16:37 | rhansen | Note Added: 0002626 | |
2015-04-16 16:40 | rhansen | Final Accepted Text | => Note: 0002626 |
2015-04-16 16:40 | rhansen | Status | New => Closed |
2015-04-16 16:40 | rhansen | Resolution | Open => Accepted As Marked |
2015-04-16 16:40 | rhansen | Tag Attached: issue8 | |
2015-04-16 16:44 | rhansen | Status | Closed => Resolved |
2020-04-03 15:15 | geoffclare | Status | Resolved => Applied |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |