XTEND logging service

XTEND offers a tracking option of user activity

The webmaster ha the possibility to activate/deactivate the activity tracking in the web site record.

The tracking can be activated on the following elements:

  • Web action
  • Page
  • Dynamic link

Files location

Storage directory

\WebData\SERVERSLOGS\WAXTENDSERVER\ACTIVITY\
WebData is the installation directory for the X3WEB server data.

XTEND site log

The log of an XTEND web site is composed of a certain number of files which name change regularly
X3SOL.X3FOLDER.XTENDSITE.n.log.

Sessions log

The XTEND.GLOBAL.n.log files contains the XTEND sessions log

An entry is created for each new XTEND session with information about the web browser

Log setup

The number of files and their size can be parameterized via the console parameters
xtend.server.activitylog.*

By default, the XTEND log level xtend.server.activitylog.level is equal to 1.

WSVC and SCT logs are not activated by default.

The parameter value xtend.server.activitylog.level is set to 2 (Verbose) in order to activate them.

Content of the site's log file

Common columns

Column

Information 

1

Time in ms since 1970

2

Date YYYY/MM/DD

3

Hour Hour:Minutes:Seconds:Milliseconds

4




- PAG types for the display of a page
- DLK types for clicking on a dynamic link
- WSC types for the call to an Interface or AJAX web service
- SCT types for the call of an AJAX server

5

XTEND session Id

6

Http/Https

7

GET or POST method

8

XTEND language code

9

XTEND user code

PAG type

Column

Information 

10

Page code

11

Display time in ms

12

Code of the dynamic link

DLK type

Column

Information 

10

Code of the dynamic link

12

Action code

13

Execution time of the action of milliseconds

14

Action's interface code

15

Action's interface code

WSC type

Column

Information 

10


- AJX AJAX Web service
- FLH FLASH Web service
- REQ Data access Web service
- SCT Web service executed from a script

11

Interface code

12

Execution time of the web service

13

OK/KO result

14

ID Script(SCT)/Page(REQ)/Flash field(FLH)

SCT type

Column

Information 

10

Script path

11

Execution time of the script

Content of the sessions' log file

Column

Information 

1

IP address of the client or last proxy that has sent the request

2

IP port of the client or last proxy that has sent the request

3

Browser name

4

Browser version

5

Browser platform

6

Reverse proxy - Prefix

7

Reverse proxy - Hostname

8

Reverse proxy - Http port

9

Reverse proxy - Https port

Web services logging service

Location

The web service's logs are stored on the X3WEB server on which they are executed, in the directory:
\WebData\SERVERSLOGS\WAXTENDSERVER\ACTIVITY\

The logs are stores in several files:

General log

The log file's name is Entries.NomDuPoolDeConnexion.n.txt

The connection pools' logs

The name of the log file is WsvcServer.n.txt

The web service log function is activated by default.

Configuration

It can be parameterized via the console parameters:

  • http.cx3weblogsvc.activitylog.on=on
  • http.cx3weblogsvc.activitylog.filenumber=10
  • http.cx3weblogsvc.activitylog.filesize="10000000"

Identification of requests

Web services' XTEND requests are identified (in the 'Request ID' columns of the logs) by the identifier: XTEND session ID.DateHour.Counter

All XTEND web services which are from the same session have the same ID prefix.

Main log content

NewReq line

NewReq lines correspond to the entering request that has been taken into account.
From now on, the request has a unique identification.

Column

Information

1

ID for the request

2

Publication ID for the X3 web service

3





Action type
- EXEC: Subprograms calls
- LIST: Object left list
- READ: object reading
- MODIFY: object saving
- CREATE: object creation
- DELETE: delete object

4

Entry group ID in the pool

5

X3 user

6

X3 language

7

Request execution log file (true/false)

8

L4G process execution log file (true/false)

9

L4G process debugger activation log file (true/false)

10

Logging information log file (true/false)

Ligne Result

Represents the answer returned from the caller

Column

Information

1

ID for the request

2

Publication ID for the X3 web service

3

Action type

4

Entry group ID in the pool

5

General status of the request (0-KO/1-OK)

6

Number of messages

7

Presence of result (true/false)

8

Time for description loading

9

Request distribution time length

10

Waiting time in the list

11

Execution duration

12

Process request longetivity

13

Total execution time in the Web service server

14

User change (true/false)

15

Process reloading in the Adonix server (true/false)

16

Description reloading of the Web service (true/false)

17

Resent of request after the detection of the deactivation of the link with the data base (true/false)

18

Index of the used entry

19

Inscription index in the distribution queue

20

Number of distribution cycles

21

Was the entry occupied when the request was sent ? (true/false)

22

Presence of a server log file in the response (true/false)

 

 

Pools' log content

Launch

Column

Information

1

ID for the request

2

Process ID

3

Sub-program ID

4

X3 user ID

5

Language

6

Index of the entry assigned to the launch of this request

7

Number of cycle that have been necessary for the distribution

8

Number of requests launched by this entry group

9

Number of group entries

10




By entry:
- score
- entry index
- entry ID
- free entry (true/false)
- entry in error (true/false)


LaunchSub

Technical sub requests are traced in a 'LaunchSub' line because a request might need the execution of a technical sub request -a change of user, for instance.

Column

Information

1

Mother request ID with the suffix ',N'

2

Process ID

3

Sub-program ID

4

User ID

5

Language

6

Index of the entry assigned to the launch of this request

7

Number of cycle that have been necessary for the distribution

ExecEnd or ExecSubEnd

Column

Information

1

Mother request ID with the suffix '.1'

2

Process ID

3

Sub-program ID

4

User ID

5

Language

6

Index of the entry assigned to the launch of this request

7

Number of cycle that have been necessary for the distribution

8

Status (true/false)

9

Presence of message (true/false)

10

Presence of exception (true/false)

11

Message text

12

Adonix server error (true/false)

13

Description of the out-of-phase Web service (true/false)

14

Link with the database deactivated (true/false)