mIRC Home    About    Download    Register    News    Help

Print Thread
#99950 08/10/04 12:38 AM
Joined: Oct 2004
Posts: 5
G
g33k0r Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Oct 2004
Posts: 5
I've got mIRC set up to log all channels etc fileting by network name and date and the files rotate perfectly at midnight, however I also log some @Windows i collect server message in (i'm an oper) to keep on record but the log rotation doesnt seem to work. The only way I can force mIRC to create a new logfile with the current date is to close the @Window - this means if i forget to close them, i could have days and days of stuff all in one logfile with a particular date. I'm not sure if this was an intended 'feature' or is a bug so i'd appreciate some feedback.

Regards

#99951 08/10/04 03:03 AM
Joined: Dec 2002
Posts: 266
Z
Fjord artisan
Offline
Fjord artisan
Z
Joined: Dec 2002
Posts: 266
Turn "Lock log files" off in the in ALT+O->Logging.


You won't like it when I get angry.
#99952 08/10/04 10:16 AM
Joined: Oct 2004
Posts: 5
G
g33k0r Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Oct 2004
Posts: 5
I have got 'Lock log files' off.

#99953 08/10/04 10:44 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
This is what I do for logging an @ window with date in the filenames:

if (!$window(@servslog)) { window -Enk @servslog Times New Roman,11 | .log on @servslog }


And so far I have 2 different logs files including date preferences


Those who fail history are doomed to repeat it
#99954 10/10/04 02:59 PM
Joined: Oct 2004
Posts: 5
G
g33k0r Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Oct 2004
Posts: 5
My code is very similart, and when the window is opened it does create a logfile with the correct date in the correct folder. What i'm saying is that when that window stays open past midnight, a new logfile isn't generated for the next day - everything is getting appended onto the existing logfile unless the window is closed down at midnight and re-opened.

#99955 10/10/04 03:04 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
OOOOOOOOOOOOOOO gotcha. That actually makes sence tho (even if it's wrong) because the file has remained open during the changeover of time. Im not saying it is/isn't a bug, just that I can understand WHY it happens smile


Those who fail history are doomed to repeat it
#99956 10/10/04 03:07 PM
Joined: Oct 2004
Posts: 5
G
g33k0r Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Oct 2004
Posts: 5
It may make sense, but it's not what happens with all the channel windows and status window - they all rotate their logs at midnight without fail - it only seems to be the @Windows that don't.

#99957 10/10/04 03:09 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Well then, it would be nice if it was made to follow suit and become uniform smile


Those who fail history are doomed to repeat it
#99958 10/10/04 03:10 PM
Joined: Oct 2004
Posts: 5
G
g33k0r Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Oct 2004
Posts: 5
... which is why i posted in the bugs forum cool


Link Copied to Clipboard