Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Logging

Logging

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


Posted by RM7   (9 posts)  Bio
Date Wed 15 Jan 2003 11:50 AM (UTC)
Message
I'm having a logging problem -- log files seem to never be created. Logging is enabled, the directory is properly set. I have the filename specified as 'logfile', and am using no preamble.

I'm using version 3.32 on Win XP.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 15 Jan 2003 11:55 AM (UTC)
Message
You say logging is enabled. You mean automatic logging? Try clicking on Browse and selecting a full pathname. Maybe you don't have permission to write in the directory it is trying to use.

Also, try turning logging on manually (File Menu -> Log Session) and see what happens.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by RM7   (9 posts)  Bio
Date Reply #2 on Wed 15 Jan 2003 12:08 PM (UTC)
Message
I've tried using browse, which requires you to also select or type in a filename. It will log for one session. I've tried manually starting a log, which acts similarly.

What I'm trying to do is have a logfile with a name such as

WorldName-Date-Time.txt

be created each login. I had this working before on Win98, but I have a new PC now and haven't been able to make it work the same.
Top

Posted by RM7   (9 posts)  Bio
Date Reply #3 on Wed 15 Jan 2003 12:13 PM (UTC)
Message
Hmm, not sure why, but it works now, I just re-set all the options basically.
Top

Posted by RM7   (9 posts)  Bio
Date Reply #4 on Thu 16 Jan 2003 12:16 PM (UTC)

Amended on Thu 16 Jan 2003 01:20 PM (UTC) by RM7

Message
Hmm, still have a problem. It just randomly stopped working. Let me tell you what the situation is currently.

Under logging options"
Log output: checked
Log commands: unchecked
Log notes: unchecked
HTML: unchecked
Write world name to log file is checked
Automatically log to this file: mudname-%a-%d-%b-%Y.txt
No pre/postamles or other options used.

When I open Mushclient and connect to the mud, automatically the following are in effect:

- Right-click menu has a check next to log session. Click on it to uncheck pops up a box asking, "Close log file mudname-Thu-16-Jan-2003.txt?"

- File / Log Session has the same option checked. Clicking it causes the same response.

When I check the directory I have logs set to go into, there is no log there. This is windows XP, not using any special permissions or security.

Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Fri 17 Jan 2003 11:28 PM (UTC)
Message
Quote:

Automatically log to this file: mudname-%a-%d-%b-%Y.txt


Conceivably it isn't going to the right directory. Try putting the path into the actual file name, eg.

Automatically log to this file: c:\mud-logs\mudname-%a-%d-%b-%Y.txt

(Of course, make sure that directory exists).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by RM7   (9 posts)  Bio
Date Reply #6 on Sat 18 Jan 2003 12:30 AM (UTC)
Message
That seemed to do the trick. :) Thanks!
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.


21,842 views.

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

Go to topic:           Search the forum


[Go to top] top

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