Appendix B, Repository Properties Reference

Server properties Two new server properties are added for the extended log file format (ELFF) items to allow users to set the date and time in various formats.

com.sybase.jaguar.server.http.elffdatetimeformat This property specifies date format (%Y-%m-%d %H:%M: %D GMT) in the ELFF items in the request log.

Syntax

The ELFF datetimeformat options are:

Options

Description

Options

Description

%a

Abbreviated weekday name. For example, Wed.

%A

Complete weekday name. For example, Wednesday.

%b

Abbreviated month name. For example, Apr.

%B

Complete month name. For example, April.

%c

Date and time representation appropriate for locale

%d

Day of the month as in decimal number (01-31)

%H

Hour In 24-hour format (00-23)

%I

Hour in 12-hour format (01-12)

%j

Day of year as decimal in number (001-366)

%m

Month as in decimal number (01-12)

%M

Time in minutes as in decimal number (00-59)

%p

Current locale’s A.M/P.M (as indicator for 12-hour clock)

%S

Time in second as in decimal number (00-59)

%U

Week of the year as in decimal number in which Sunday is the first day of the week (00-53)

%w

Weekday as in decimal number (0-6; Sunday is 0)

%W

Week of the year as in decimal number, with Monday as the first day of the week (00-53)

%x

Date representation for current locale

%X

Time representation for current locale

%y

Year without century as in decimal number (00-99)

%Y

Year with century as in decimal number

%z, %Z

Time-zone name or abbreviated time-zone name

%%

No character if time-zone is unknown.

See also

com.sybase.jaguar.server.http.elfflocaltime

com.sybase.jaguar.server.http.elfflocaltime This property specifies time format in the ELFF items.

Syntax

true or false. The default is false.

Usage

If the property is set to false, the log file uses the GMT time. Otherwise, the log file uses the local time.

See also

com.sybase.jaguar.server.http.elffdatetimeformat