[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Commands not being logged
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Commands not being logged

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Nick Gammon   Australia  (21,652 posts)  [Biography] bio   Forum Administrator
Date Thu 17 Apr 2003 01:12 AM (UTC)
Message
I am almost afraid to ask this, because I know it will kick up another storm, but here goes...

It seems that there is a bug in versions 3.36/3.37 where commands are not being logged. Now, the question is, if you type an alias, what do you expect to be logged (assuming you have a log file)?

* Nothing
* The alias you typed
* The command that the alias evaluated to (which actually got sent)
* Both

And, if the alias "omit from log" flag is set, what gets omitted?

* The alias you typed?
* The command that is sent?
* Both?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Vaejor   (120 posts)  [Biography] bio
Date Reply #1 on Thu 17 Apr 2003 01:33 AM (UTC)
Message
The most basic answer seems to be: anything that appears on the screen should be logged unless it's specifically marked to omit from log(triggers/aliases)
[Go to top] top

Posted by Nick Gammon   Australia  (21,652 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Thu 17 Apr 2003 01:53 AM (UTC)
Message
OK, if we go with that basic definition, why would someone want to set "omit from log" for an alias?

If the logging is a record of the session, they can already choose whether or not commands, in general, are logged. Why would you want to selectively omit a command from the log?

In version 3.34 and earlier, what appeared to be logged was the evaluated text (ie. what the alias sent) not the alias itself. It seems to me that a more accurate record of what you did would be to log what you typed, not necessarily what got sent.

Here is a proposal - what about having this as a rule:

If logging is on AND
If "logging commands" is on THEN ...


  • If you type a simple command it is logged.
  • If you type an alias and "echo alias" is on, the alias is logged (ie. what you actually typed).
  • If you type an alias and the alias "omit from log" is not on, the alias *output* is logged.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Vaejor   (120 posts)  [Biography] bio
Date Reply #3 on Thu 17 Apr 2003 02:41 AM (UTC)
Message
I'd agree with that logic.
[Go to top] top

Posted by Nick Gammon   Australia  (21,652 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Thu 17 Apr 2003 07:45 AM (UTC)
Message
Version 3.38 does it that way.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


3,890 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]