Skip to content
Permalink
Browse files
Log only in debug mode
  • Loading branch information
sbrunner authored and github-actions committed Jan 13, 2022
1 parent 24af658 commit e9a065f7a3a3ea2d291851f446876756f19aace0
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 e9a065f

Please sign in to comment.