On 5/22/2025 10:45 AM, Kalin KOZHUHAROV wrote:
> 
> logname? logINname? Remote user login name?
> Anything but "LOGname"! It is about a user, a login, not a log(file).

Whoever wrote the %l code and documentation for Apache didn't
hallucinate the word "logname". It was at least marginally acceptable as
a synonym for username.

As an environment variable, LOGNAME has been around for a long time, and
always meant the current user. BSD has had it since Net/2:

<https://www.tuhs.org/cgi-bin/utree.pl?file=Net2/usr/src/usr.bin/login/login.c>

But the origin seems to be System V. SVID2 from 1986 mentions it, and
not just as an environment variable. It's also a command which prints
the current user's username - a command which later got into POSIX.

So it's not a error, but it isn't the most widely known term, and
probably never was.

The best description of %l might just be "identd response". No matter
what other words are included, people who didn't live through the era of
peak identd will have to look it up to understand what's going on.

-- 
Alan Curry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to