diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 10b1e3009..216c4f719 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -10,11 +10,14 @@ - fix: Event Manager - can't add event - fix: v6.99.1, security: Spectre listens to INADDR_ANY (profo) - fix: Manage groups in this group doesn't work - - Fixed a problem where the not found page would not display. - fix: New page layout instead of not found - fix: Rollback - fix: debug output - fix: Can't delete images at product asset + - fix: Link to page in Webgui Page Tree not working in IE + - fix: Not Found page not working + - Made debug output more colorful, and set queries as info rather than debug. + 6.99.2 - fix - demo.plainblack.com getting started diff --git a/lib/WebGUI/Session/ErrorHandler.pm b/lib/WebGUI/Session/ErrorHandler.pm index 79ee054da..c2b87041b 100644 --- a/lib/WebGUI/Session/ErrorHandler.pm +++ b/lib/WebGUI/Session/ErrorHandler.pm @@ -310,7 +310,7 @@ sub query { else { $plac = ''; } - $self->debug("query ".$self->{_queryCount}.': '.$query.$plac); + $self->info("query ".$self->{_queryCount}.': '.$query.$plac); } @@ -363,10 +363,10 @@ sub showDebug { my $output = '
'.$text."
\n"; $text = $self->{_debug_warn}; $text =~ s/\n/\
\n/g; - $output .= '
'.$text."
\n"; - $text = $self->{_debug_info}; + $output .= '
'.$text."
\n"; + $text = $self->{_debug_debug}; $text =~ s/\n/\
\n/g; - $output .= '
'.$text."
\n"; + $output .= '
'.$text."
\n"; my $form = $self->session->form->paramsHashRef(); foreach my $key (keys %{$form}) { if ($key eq "password" || $key eq "identifier") { @@ -379,10 +379,10 @@ sub showDebug { $text =~ s/\n/g; $text =~ s/ /    /g; - $output .= '
'.$text."
\n"; - $text = $self->{_debug_debug}; + $output .= '
'.$text."
\n"; + $text = $self->{_debug_info}; $text =~ s/\n/\
\n/g; - $output .= '
'.$text."
\n"; + $output .= '
'.$text."
\n"; return $output; }