logging

Posted by Feantur on Sat 02 Oct 2004 04:28 PM — 15 posts, 49,660 views.

#0
When I'm logging output, for some reason the password I enter seems to be logged _above_ the querying line, despite the line being displayed before I send the password. Is this intended?
Australia Forum Administrator #1
Can't think why that would be intentional. :)

Maybe it does that because the query doesn't have a linefeed on it.
#2
Still it would be interesting why the log file looks like this:

As preamble and postamble I use the tags [command] and [/command] & [output] and [/output] in my log file.

[command] heregoesmypassword [/command]
[output] Your password: [/output]

Because, although there might be no linefeed on the second line, shouldn't the command be logged _after_ the output was logged?

P.S. What's definitely weird is that it logs the time of input for the password to be before the actual display of the output of the password query, i.e. as if I sent my password _before_ the query was received (which I don't).

P.P.S. The password doesn't show as input on the active world window, either.
Amended on Wed 06 Oct 2004 01:59 PM by Feantur
Poland #3
Speaking of logging the password, I'm wondering if there's a way to suppress it, i.e. so that the password entered is NOT logged..
USA #4
It isnt logged in most cases. Anywhere the server sends echo off isnt logged.
#5
I don't mind the password not being logged, in fact that's rather convenient. :-)
Australia Forum Administrator #6
I can reproduce that. :)

They are logged in that order because it logs lines when the linefeed arrives, otherwise it might log a partially-received line, or more importantly, triggers fire at the linefeed. A trigger might suppress logging. Thus, the logging cannot occur until after trigger processing.

Now, it sends:

Password: (no linefeed)

Thus that line isn't logged yet.

Then you enter the password. As a command, it is logged.

Then the MUD sends more things (including a linefeed) after receiving the password, so the "Password:" line is now logged.

If you have "auto-connect" set up the password will not appear in the log file. It appears to be a bug that it logs the password the way you are doing it.
Poland #7
So, is there a way to stop logging the password? (It doesn't show at screen, but it is logged, and I'd prefer it not to).
USA #8
To quote Nick:
Quote:
If you have "auto-connect" set up the password will not appear in the log file.
Poland #9
I saw that, but my question refers to the situation where I don't have auto-connect (and I don't have it for the reasons which aren't relevant here).
USA #10
Does the server send an echo off message?
Poland #11
I don't know.. but I think it does, since the password is NOT echoed to the screen, yet it IS logged.
USA #12
Check the "ignore echo off" flag, (config > command )
Does it still happen? (Does it log infront of the prompt)

Does it display infront or behind the prompt?
Poland #13
Ok, with 'ignore echo off' unchecked the password is not displayed and is logged before the prompt:

Your name?
scypio
xxxxxxxxxx
Password:

With 'ignore echo off' checked the password is displayed (after the prompt) and is logged after the prompt:

Your name?
scypio
Password:
xxxxxxxxxx

Australia Forum Administrator #14
Added as bug/suggestion #533.