0

I have a problem with the word logging. My current knowledge is that logging means:

cut down (an area of forest) in order to exploit the timber commercially.

But what about computer systems? I have to name a component used to login into our application, and I am struggling between the name LoginController and LoggingController. Which one will be better/correct?

  • 2
    A logging controller would be expected to control something to do with log files. – Lawrence Dec 13 '19 at 14:36
  • Generally, "logging" in computerdom refers to recording a history of events. Yes, there is "logging in", which refers to the activity of entering credentials, but "logging" without the "in" is entirely different. – Hot Licks Dec 17 '19 at 3:09
4

Considering that the controller controls the login process, I would go for LoginController. In software developement a Logging Controller sounds like a controller responsible for managing logs (system outputs). A LoggingInController would convey the same meaning as a LoginController, since a login describes the action of logging in, but the simplicity of a simple LoginController makes it a more obvious choice.

Notice the difference between log in (a verb) and login or log-in (a noun).

to Log in: to connect to a computer system by putting in a particular set of letters or numbers

log in: the set of letters and numbers that you write on a computer screen in order to connect to a computer system

(source)

1

edit: To answer the question directly, yes "logging" is a valid word to use. You generally "log in" but while you are in the process of that act it would be called "logging in".

In the case of how you know logging to be used, it is the verb form of the noun log as in a segment of a tree. Computing borrowed the term "log" in reference to logbooks that are used to track events. Originally when you would "log in" or "log on" (which historically was two different things but nowadays "log on" is not used as much) this action was recorded much like in logbooks since administrators needed to manage time that users were on the system. Logging also refers to any output that is generated internally within the system rather than being sent back to the user and is often stored in a "log file" which is often shortened to just "log" or the plural "logs."

Just in case anyone's interested in "in" versus "on" it referred to how much access was given to a system. Logging "on" meant that you had specific actions you could make on the system where as logging "in" meant that you had root (admin) access and could perform any function. Somewhere along the line "in" pretty much became the standard and the distinction blurred. When terminating a session where you logged in you would log out and where you logged on you would log off.

  • 1
    "Computing coined the term "log" in reference to logbooks" - The term was not coined for use in computing, it was already in use a long time before computers. – nnnnnn Dec 14 '19 at 2:48
  • @nnnnnn Thanks for pointing that out. I'm changing it to "borrowed" instead as that's more appropriate. – Jonathan Dec 16 '19 at 20:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.