Re: [Geoserver-users] [Geoserver-devel] One line logg message

2020-09-29 Thread Jody Garnett
Moving this conversation to the user list for wider discussion.

GeoServer uses log4j, you can configure additional log profiles (adding
a file to the logs directory) if you wish to experiment with alternate
logging levels and formatting.

There are lots of examples of how to configure log4j stack traces to one
line
-
https://prog.world/java-collapse-multi-line-logs-into-a-single-line-log-using-spirng-and-logback-or-log4j2-logger/

It looks like the approach is to define a converter that substitutes \n
-
https://logging.apache.org/log4j/log4j-2.0/manual/layouts.html#PatternLayout

Perhaps these can be added to make the message one line also,

--
Jody Garnett


On Tue, 29 Sep 2020 at 06:45, geseus  wrote:

> Hi, is it possible to have log message on one line on console log?
>
> So, instead of:
>
> 2020-09-29 15:10:42 INFO [geoserver.wfs] -
> Request: getFeature
> service = WFS
> version = 1.1.0
> baseUrl = http://localhost:8080/geoserver/
> query[0]:
> typeName[0] = {http://some/namespace/uri}theLayer
> maxFeatures = 50
> outputFormat = gml3
> resultType = results
>
> i would like to have something like this:
>
> 2020-09-29 15:10:42 INFO [geoserver.wfs] - Request: getFeature | service =
> WFS | version = 1.1.0 | baseUrl = http://localhost:8080/geoserver/ |
> query[0]: typeName[0] = {http://some/namespace/uri}theLayer | maxFeatures
> =
> 50 | outputFormat = gml3 | resultType = results
>
> Thanks a lot,
> Tomas
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-Dev-f3819232.html
>
>
> ___
> Geoserver-devel mailing list
> geoserver-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] (no subject)

2020-09-29 Thread Peter Smythe
Hi guys

In https://docs.geoserver.org/latest/en/user/data/webadmin/workspaces.html,
the documentation says:

> The workspace name is limited to ten characters and may not contain space.

I have never come across this 10 character limitation and wonder whether it
is correct or whether the documentation needs to be updated.  I have
successfully created two workspaces that only differ past the 10 character
position, so it's not checking only the first 10 characters.

Is there a known limitation on workspace name length?

Thanks

Peter
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problem with ImageMosaic Creation

2020-09-29 Thread Russ Hore
Can you check the user that is running GeoServer (tomcat?) has read permission 
to the folder containing the files.

I have been caught out that way before where I have created a folder as a 
normal user but the tomcat user does not have read permissions.

Russ

> On 29 Sep 2020, at 14:30, Nicolas Raggueneau  
> wrote:
> 
> Hi Daniele, thank you for your support.
> Here is an extract of the log, starting at the creation of the store.
> It is working in 2.12
> 
> Best regards,
> Nicolas
> 
> Le mar. 29 sept. 2020 à 15:06, Daniele Romagnoli 
>  > a écrit :
> 
> Hi Nicolas,
> you could try raising the logging level to GEOTOOLS_DEVELOPER_LOGGING.
> From the GeoServer UI, on the left menu, go to Settings->Global->Logging 
> settings.
> 
> Then retry and let see if the Logs contain some additional information.
> 
> Please, let us know.
> Regards,
> Daniele
> 
> 
> 
> 
> On Tue, Sep 29, 2020 at 2:58 PM Nicolas Raggueneau 
> mailto:nicolas.ragguen...@gmail.com>> wrote:
> Hi!
> 
> ImageMosaic creation fails when I create a store. Product is a Pleiades 
> mosaic. On Geoserver 2.12 store and layer creation are straightforward.
> 
> On 2.16.5 and 2.18 it produces this error :
> Could not list layers for this store, an error occurred retrieving them: 
> Failed to create reader from file:data/cassis/IMG_PHR1B_PMS_001 and hints 
> Hints: REPOSITORY = org.geoserver.catalog.CatalogRepository@3a79b5cb 
> EXECUTOR_SERVICE = java.util.concurrent.ThreadPoolExecutor@1d70ca68[Running, 
> pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 
> System defaults: GRID_COVERAGE_FACTORY = GridCoverageFactory TILE_ENCODING = 
> null STYLE_FACTORY = StyleFactoryImpl FORCE_AXIS_ORDER_HONORING = http 
> LENIENT_DATUM_SHIFT = true COMPARISON_TOLERANCE = 1.0E-8 FEATURE_FACTORY = 
> org.geotools.feature.LenientFeatureFactoryImpl@4ebea12c 
> FORCE_LONGITUDE_FIRST_AXIS_ORDER = true FILTER_FACTORY = FilterFactoryImpl
> 
> Environnement
> - Windows 10 pro
> - java x64 1.8.0_191
> - gdal plugin
> 
> What could I test to troubleshoot this?
> 
> Best Regards,
> Nicolas
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting to this 
> list:
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/ 
> 
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html 
> 
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>  
> 
> 
> 
> Geoserver-users@lists.sourceforge.net 
> 
> https://lists.sourceforge.net/lists/listinfo/geoserver-users 
> 
> 
> 
> -- 
> Regards,
> Daniele Romagnoli
> ==
> GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
>  for more information.
> ==
> 
> Ing. Daniele Romagnoli
> Senior Software Engineer
> 
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:  +39 0584 1660272
> 
> http://www.geo-solutions.it 
> http://twitter.com/geosolutions_it 
> 
> ---
> 
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa 
> che ogni circostanza inerente alla presente email (il suo contenuto, gli 
> eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i 
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per 
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei 
> comunque grato se potesse darmene notizia.
> 
> This email is intended only for the person or entity to which it is addressed 
> and may contain information that is privileged, confidential or otherwise 
> protected from disclosure. We remind that - as provided by European 
> Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or 
> the information herein by anyone other than the intended recipient is 
> prohibited. If you have received this email by mistake, please notify us 
> immediately by telephone or e-mail.
> 
> 
> -- 
> Regards,
> Daniele Romagnoli
> ==
> GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
>  for more information.
> ==
> 
> Ing. Daniele Romagnoli
> Senior Software 

Re: [Geoserver-users] Problem with ImageMosaic Creation

2020-09-29 Thread Nicolas Raggueneau
I'm running Geoserver with my windows account (not as service), the same
account that I've used to create the folder in data and copy the files, so
I think it's good.
Besides it's working with 2.12.

I am suspecting either something changed in Image readers or I have a dll
conflict. I've the same kind of error when I try to make a geotiff store

Nicolas


Le mar. 29 sept. 2020 à 16:36, Russ Hore  a écrit :

> Can you check the user that is running GeoServer (tomcat?) has read
> permission to the folder containing the files.
>
> I have been caught out that way before where I have created a folder as a
> normal user but the tomcat user does not have read permissions.
>
> Russ
>
> On 29 Sep 2020, at 14:30, Nicolas Raggueneau 
> wrote:
>
> Hi Daniele, thank you for your support.
> Here is an extract of the log, starting at the creation of the store.
> It is working in 2.12
>
> Best regards,
> Nicolas
>
> Le mar. 29 sept. 2020 à 15:06, Daniele Romagnoli <
> daniele.romagn...@geo-solutions.it> a écrit :
>
>>
>> Hi Nicolas,
>> you could try raising the logging level to GEOTOOLS_DEVELOPER_LOGGING.
>> From the GeoServer UI, on the left menu, go to Settings->Global->Logging
>> settings.
>>
>> Then retry and let see if the Logs contain some additional information.
>>
>> Please, let us know.
>> Regards,
>> Daniele
>>
>>
>>
>>
>> On Tue, Sep 29, 2020 at 2:58 PM Nicolas Raggueneau <
>> nicolas.ragguen...@gmail.com> wrote:
>>
>>> Hi!
>>>
>>> ImageMosaic creation fails when I create a store. Product is a Pleiades
>>> mosaic. On Geoserver 2.12 store and layer creation are straightforward.
>>>
>>> On 2.16.5 and 2.18 it produces this error :
>>> Could not list layers for this store, an error occurred retrieving them:
>>> Failed to create reader from file:data/cassis/IMG_PHR1B_PMS_001 and hints
>>> Hints: REPOSITORY = org.geoserver.catalog.CatalogRepository@3a79b5cb
>>> EXECUTOR_SERVICE = java.util.concurrent.ThreadPoolExecutor@1d70ca68[Running,
>>> pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
>>> System defaults: GRID_COVERAGE_FACTORY = GridCoverageFactory TILE_ENCODING
>>> = null STYLE_FACTORY = StyleFactoryImpl FORCE_AXIS_ORDER_HONORING = http
>>> LENIENT_DATUM_SHIFT = true COMPARISON_TOLERANCE = 1.0E-8 FEATURE_FACTORY =
>>> org.geotools.feature.LenientFeatureFactoryImpl@4ebea12c
>>> FORCE_LONGITUDE_FIRST_AXIS_ORDER = true FILTER_FACTORY = FilterFactoryImpl
>>>
>>> Environnement
>>> - Windows 10 pro
>>> - java x64 1.8.0_191
>>> - gdal plugin
>>>
>>> What could I test to troubleshoot this?
>>>
>>> Best Regards,
>>> Nicolas
>>> ___
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>> --
>> Regards,
>> Daniele Romagnoli
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>>
>> Ing. Daniele Romagnoli
>> Senior Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax:  +39 0584 1660272
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> ---
>>
>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>> precisa che ogni circostanza inerente alla presente email (il suo
>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>
>> This email is intended only for the person or entity to which it is
>> addressed and may contain information that is privileged, confidential or
>> otherwise protected from disclosure. We remind that - as provided by
>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>> e-mail or the information herein by anyone other than the intended
>> recipient is prohibited. If you have received this email by mistake, please
>> notify us immediately by telephone or e-mail.
>>
>>
>> --
>> Regards,
>> Daniele Romagnoli
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>>
>> Ing. 

[Geoserver-users] Fwd: Problem with ImageMosaic Creation

2020-09-29 Thread Daniele Romagnoli
Hi Nicolas,
you could try raising the logging level to GEOTOOLS_DEVELOPER_LOGGING.
>From the GeoServer UI, on the left menu, go to Settings->Global->Logging
settings.

Then retry and let see if the Logs contain some additional information.

Please, let us know.
Regards,
Daniele




On Tue, Sep 29, 2020 at 2:58 PM Nicolas Raggueneau <
nicolas.ragguen...@gmail.com> wrote:

> Hi!
>
> ImageMosaic creation fails when I create a store. Product is a Pleiades
> mosaic. On Geoserver 2.12 store and layer creation are straightforward.
>
> On 2.16.5 and 2.18 it produces this error :
> Could not list layers for this store, an error occurred retrieving them:
> Failed to create reader from file:data/cassis/IMG_PHR1B_PMS_001 and hints
> Hints: REPOSITORY = org.geoserver.catalog.CatalogRepository@3a79b5cb
> EXECUTOR_SERVICE = java.util.concurrent.ThreadPoolExecutor@1d70ca68[Running,
> pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
> System defaults: GRID_COVERAGE_FACTORY = GridCoverageFactory TILE_ENCODING
> = null STYLE_FACTORY = StyleFactoryImpl FORCE_AXIS_ORDER_HONORING = http
> LENIENT_DATUM_SHIFT = true COMPARISON_TOLERANCE = 1.0E-8 FEATURE_FACTORY =
> org.geotools.feature.LenientFeatureFactoryImpl@4ebea12c
> FORCE_LONGITUDE_FIRST_AXIS_ORDER = true FILTER_FACTORY = FilterFactoryImpl
>
> Environnement
> - Windows 10 pro
> - java x64 1.8.0_191
> - gdal plugin
>
> What could I test to troubleshoot this?
>
> Best Regards,
> Nicolas
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.


-- 
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.

[Geoserver-users] Problem with ImageMosaic Creation

2020-09-29 Thread Nicolas Raggueneau
Hi!

ImageMosaic creation fails when I create a store. Product is a Pleiades
mosaic. On Geoserver 2.12 store and layer creation are straightforward.

On 2.16.5 and 2.18 it produces this error :
Could not list layers for this store, an error occurred retrieving them:
Failed to create reader from file:data/cassis/IMG_PHR1B_PMS_001 and hints
Hints: REPOSITORY = org.geoserver.catalog.CatalogRepository@3a79b5cb
EXECUTOR_SERVICE = java.util.concurrent.ThreadPoolExecutor@1d70ca68[Running,
pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
System defaults: GRID_COVERAGE_FACTORY = GridCoverageFactory TILE_ENCODING
= null STYLE_FACTORY = StyleFactoryImpl FORCE_AXIS_ORDER_HONORING = http
LENIENT_DATUM_SHIFT = true COMPARISON_TOLERANCE = 1.0E-8 FEATURE_FACTORY =
org.geotools.feature.LenientFeatureFactoryImpl@4ebea12c
FORCE_LONGITUDE_FIRST_AXIS_ORDER = true FILTER_FACTORY = FilterFactoryImpl

Environnement
- Windows 10 pro
- java x64 1.8.0_191
- gdal plugin

What could I test to troubleshoot this?

Best Regards,
Nicolas
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users