|
last changed : 01/24/10
access.log application.log
The download.log has the following structure: The values are separated by Tab, because it's one of the few values (cross system) which are not allowed in a file name. A filename (without path) will be added to the list by the first counted download, with that the count value start with 1. To identify a file is used only the filename (case sensitive) without path, no CRC or MD5 check. The time value is the complete date of the first download represented by the number of non-leap seconds since whatever time the system considers to be the epoch (that's 00:00:00, January 1, 1904 for MacOS, and 00:00:00 UTC, January 1, 1970 for most other systems).
efileman log file configuration looks similar to eg. Apache web server log file configuration, but only the following items are supported:
The format string may also contain the special control characters "\n" for new-line and "\t" for tab. Any time values are based on server system time (independent from efileman time shift parameter) to save comparability to Apache log files. %h %u %t "%r" %b The above configuration will write log entries in a format known as the Common Log Format (CLF). This standard format can be produced by many different web servers and read by many log analysis programs. The log file entries produced in CLF will look something like this:
127.0.0.1 Erik [09/Nov/2003:16:44:01 +0100] "POST login HTTP/1.1" 0 127.0.0.1 (%h | %a) Erik (%u) [09/Nov/2003:16:44:01 +0100] (%t) "POST opendir d:/homeip/html HTTP/1.1" ("%r") 21398 (%b)
efileman knows 4 global hashs which contains the data available for all script methods. These are:
For special reasons is used the hash %USERDATA which contains configured data of all user. The script adds data to the hashs whenever it's necessary to handle information between the method calls, eg. script_name which will be added to %USER hash. Therefore will be wrote two records to application.log during one script invocation by default, one at start after reading the config files (efileman_config.pm and the respective language file), and one before printing the result to calling client. Below an example record written during processing user login:
..........:Fri Nov 14 13:01:44 2003:..........
called from Package : module::ef_main
File: c:/homeip/cgi-bin/mod_perl/efileman7.1/module/ef_main.pm
Line : 135
..........:GLOBAL:..........
enable_mail = '1'
protectlinks = '0'
language = 'english'
log_format = '%h %l %u %t "%r" %>s %B %{Referer}i %{User-agent}i'
enable_dl_cnt = '1'
mailtoall = '1'
image_url = 'http://localhost/images/efileman'
register_mailtext = 'Dear User,
your new account data :
Username : ##username##
Password : ##password##
Please change your password immediately.'
lock_efileman = '0'
system_email_address = 'test@test.com'
generate_pwd = '1'
enable_admin = '1'
sessiontime = '30'
image_path = 'c:/homeip/html/images/efileman'
VERSION = '7.1'
show_disabled_button = '0'
skin = 'default'
log_path = 'c:/homeip/cgi-bin/mod_perl/efileman7.1/logfile'
max_user = '5'
reduceHTML = '0'
enable_register = '1'
enable_login = '1'
enable_sendpwd = '1'
zip_available = '0'
automake_userpath = '1'
usrfile_path = 'c:/homeip/cgi-bin/mod_perl/efileman7.1/usrfiles'
register_mailsubject = 'Your new efileman account data'
debug_modus_on = '1'
send_register_mail = '1'
max_Form_field_length = '300'
log_user_action = '1'
system_mail_signature = '--------------------------------------------------
This Mail has been generated and sent by efileman.'
enable_upload = '1'
newpwd_mailtext = 'Dear User,
your new account password is : ##password##
Please change this password immediately.'
file_lock = '1'
script_url = 'http://localhost/mod_perl/efileman7.1/efileman.cgi'
time_shift = '0'
upload_fields = '8'
upload_path = ''
server_name = 'localhost'
enable_sessiontime = '0'
mail_type = '192.168.0.110'
newpwd_mailsubject = 'New efileman account data'
..........:USER:..........
path_seperator = '1'
curversion = '7.1.0.85'
script_path = 'c:/homeip/cgi-bin/mod_perl/efileman7.1'
post = '28'
script_name = 'efileman.cgi'
..........:FORM:..........
pwd = 'Text removed by applog method'
crypted = '1'
user = 'test'
..........:Fri Nov 14 13:01:44 2003:..........
called from Package : module::ef_subs
File: d:/homeip/cgi-bin/mod_perl/efileman7.1/module/ef_subs.pm
Line : 186
..........:GLOBAL:..........
Here follows the values after processing by the script (before printing)
therefore you may find more and sometimes changed values.
|
|