diff options
-rwxr-xr-x | GradeBook.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/GradeBook.tcl b/GradeBook.tcl index e66e212..4e45040 100755 --- a/GradeBook.tcl +++ b/GradeBook.tcl @@ -64,7 +64,7 @@ set script_name "$script_name/$coursedbfname" -set timestamp [clock format [clock seconds] -format "%Y-%m-%dT%H:%M:%S"] +set timestamp [timestamp] #CreateGradesTable db #CreateAccessRightsTable db @@ -73,12 +73,12 @@ dbg [::ncgi::names] msg_level_info if { $action == "logon" } { set action [ LogMeOn ] } if { $action == "logoff" } { LogMeOff; set action defaultview } -dbg "$timestamp user $user_requested DB $coursedbfname version $VERSION from $remote_ip" msg_level_log +#dbg "[timestamp] user $user_requested DB $coursedbfname version $VERSION from $remote_ip" msg_level_log ::ncgi::header set user [ Authenticate_User $user_requested $password ] -dbg "Requested user $user_requested logged in as $user" msg_level_info +dbg "[timestamp] authenticated user $user_requested DB $coursedbfname as $user version $VERSION from $remote_ip" msg_level_log set dbfile "$GradebookServerConfig(grades_db_dir)/$coursedbfname" if { [file exists $dbfile] && ("$coursedbfname" ne "") } { |