Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: wwrequestlog field called respone

$
0
0
Re: wwrequestlog field called respone
Web Connection 5.0
Re: wwrequestlog field called respone
07/05/2012
05:24:23 PM
3JJ11AAHE Show this entire thread in new window
Gratar Image based on email address
From:
Stein Goering
To:
Attachments:
None
I just noticed this change to the requestlog format - it appears to have been implemented with version 5.62 but I don't see it mentioned in the What's New section.

Just an FYI to anyone upgrading your app from an earlier copy of WC - if you delete your current copy of wwrequestlog the app will rebuild the file using the new format. Otherwise it will continue using the old structure.

--stein

Looks like you have a slightly dated version of Web Connection. The current log format is:

CREATE TABLE (THIS.cLogFile) FREE ; ( ; TIME T ,; REQID C(20),; Script c(50) ,; QueryStr M ,; REMOTEADDR C(16) ,; Duration N (5,2),; MemUsed C (8) ,; ERROR L ,; REQDATA M,; Browser M,; Referrer M,; Result M )

The Result property isn't used however - it's more of a debug thing that allows applications to optionally log this information on their own if they choose.

FWIW, you can override this method in your own wwServer class (yourAppServer.prg) and create any log structure you like. You can then also override the other log functions to log other information that might be useful to you. However, getting at the response is a bit difficult since it may not be in a string.

+++ Rick ---



Hi Rick,

What is the field used for? wwrequestlog.respone Can I use it for my app purposes to log my own application stuff?
CREATE TABLE (THIS.cLogFile) FREE ;
( ;
TIME T ,;
REQID C(20),;
Script c(50) ,;
QueryStr M ,;
REMOTEADDR C(40) ,;
Duration N (5,2),;
MemUsed C (8) ,;
ERROR L ,;
REQDATA M,;
Browser M,;
Respone M )

Thanks,
Joy




Viewing all articles
Browse latest Browse all 10393

Trending Articles