Re: [QGIS-Developer] QGIS Server: warnings vs info

2020-02-04 Thread David Marteau

Hi,

Yes, there is some log messages that are not output with the correct log 
level, should be fixed in near future.


Le 03/02/2020 à 19:26, Tomas Straupis a écrit :

Hello

   While reading QGIS Server logs I wonder if this has some idea or is an error.

   After QGIS Server starts running ok I assume it is normal to change
QGIS_SERVER_LOG_LEVEL to 1 - do not show INFO type messages which
quickly go into hundreds of megs of text on a busy server.
   But if I understand correctly, some messages go into incorrect
levels thus both adding unnecessary info messages as well as hiding
important info.

   For example:
   1. Excessive warning level messages include:
   * formatString is: image/png (server/qgsrequesthandler.cpp)
   * Adding service SampleService 1.0, WCS 1.0.0 etc. etc.
(servce/qgsserviceregistry.cpp)

   2. Missing important info message:
   * The layer 'ABC' does not
exist. (services/wms/qgswmsserviceexception.h)

   Am I missing something?

   Thank you


--

David Marteau
Responsable Infrastructure
www.3liz.com 

*Tel*. 06 63 02 89 83
*Bureau*
31, rue de l'Argenterie
34000 Montpellier
*Siège social*
73, allée Kleber
Boulevard de Strasbourg
34000 Montpellier

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS Server: warnings vs info

2020-02-04 Thread Paul Blottiere

Hello Tomas,


> Am I missing something?

No you're right. I'm taking a look to fix that.

Thanks for raising the issue!


Regards.

Paul Blottiere




On 2/3/20 7:26 PM, Tomas Straupis wrote:

Hello

   While reading QGIS Server logs I wonder if this has some idea or is an error.

   After QGIS Server starts running ok I assume it is normal to change
QGIS_SERVER_LOG_LEVEL to 1 - do not show INFO type messages which
quickly go into hundreds of megs of text on a busy server.
   But if I understand correctly, some messages go into incorrect
levels thus both adding unnecessary info messages as well as hiding
important info.

   For example:
   1. Excessive warning level messages include:
   * formatString is: image/png (server/qgsrequesthandler.cpp)
   * Adding service SampleService 1.0, WCS 1.0.0 etc. etc.
(servce/qgsserviceregistry.cpp)

   2. Missing important info message:
   * The layer 'ABC' does not
exist. (services/wms/qgswmsserviceexception.h)

   Am I missing something?

   Thank you


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QGIS Server: warnings vs info

2020-02-03 Thread Tomas Straupis
Hello

  While reading QGIS Server logs I wonder if this has some idea or is an error.

  After QGIS Server starts running ok I assume it is normal to change
QGIS_SERVER_LOG_LEVEL to 1 - do not show INFO type messages which
quickly go into hundreds of megs of text on a busy server.
  But if I understand correctly, some messages go into incorrect
levels thus both adding unnecessary info messages as well as hiding
important info.

  For example:
  1. Excessive warning level messages include:
  * formatString is: image/png (server/qgsrequesthandler.cpp)
  * Adding service SampleService 1.0, WCS 1.0.0 etc. etc.
(servce/qgsserviceregistry.cpp)

  2. Missing important info message:
  * The layer 'ABC' does not
exist. (services/wms/qgswmsserviceexception.h)

  Am I missing something?

  Thank you

-- 
Tomas
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer