Skip to content
Permalink
Browse files
Log only in debug mode
  • Loading branch information
sbrunner committed Jan 11, 2022
1 parent a5a2720 commit a2a24c06028333e28ee2bc6104135be194690a22
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/server/qgsfcgiserverrequest.cpp
@@ -254,11 +254,11 @@ void QgsFcgiServerRequest::printRequestInfos( const QUrl &url )
}
}

QgsMessageLog::logMessage( QStringLiteral( "Headers:" ), QStringLiteral( "Server" ), Qgis::MessageLevel::Info );
QgsMessageLog::logMessage( QStringLiteral( "------------------------------------------------" ), QStringLiteral( "Server" ), Qgis::MessageLevel::Info );
qDebug() << "Headers:";
qDebug() << "------------------------------------------------";
for ( const auto &headerName : headers().keys() )
{
QgsMessageLog::logMessage( QStringLiteral( "%1: %2" ).arg( headerName ).arg( headers().value( headerName ) ), QStringLiteral( "Server" ), Qgis::MessageLevel::Info );
qDebug() << headerName << ": " << headers().value( headerName );
}
}

0 comments on commit a2a24c0

Please sign in to comment.