ONO::ToolBox::LogfileReader

This module offers tools to read standard ONO logfiles, as will as several host OS logfile formats.

Functions

apache_log();

This is probably DEPRECATED as of 2025.

-c count accesses per minute, hour, day

ONO::ToolBox::LogfileReader->apache_log( $switches );
returns: ($res1,\%res2)

apache_log_stat();

This is probably DEPRECATED as of 2025.

ONO::ToolBox::LogfileReader->apache_log_stat( $year, $mon, $mday, $hour, $min, $sec );

app_details();

This helps to read logfiles generated e-Learning platform applications.

ONO::ToolBox::LogfileReader->app_details( $lp5, $lp6, $BLK_ref );

reader();

The standard ONO logfile reader, which will read logfiles written by the ONO_ToolBox_Logfile module.

Available switches:

-A app mode (for e-learning apps)
-B buttons (requires -S and $setup{'logline_buttons'})
-c colorize
-f flat_top (-h mode only)
-F form/filter off (required when running within some evil forms...)
-h human mode (with user icons etc)
-H 100 results per page
-I don't show the IP
-M monitor bad words / bad content
-R round box style
-S use %setup
-t ten results per page
-X unix log mode (auto-enabled when running access_log or error_log)

ono_toolbox_logfilereader_topbar_id

ONO::ToolBox::LogfileReader->reader( $file, $link, $form, $vars_ref, $BLK_ref, $switches, $setup_ref );
returns: $LOG

Sub-Modules

none

Dependencies