Discussion:
[Geoserver-users] quick geoserver question
Jody Garnett
2017-06-23 00:34:50 UTC
Permalink
I am having fun using geoserver this week (I know that never happens that
developers get to use the thing they work on).

One of the experiments I have been doing it starting up geoserver with an
empty data directory and configuring it via the rest api. One "glitch" in
this work flow is configuring logging.

When I first start up geoserver logs are sent to catalina.out and are
available in tomcat/logs directory. The
GEOSERVER_DATA_DIR/logs/geoserver.log file is created but empty.

When I use the UI to change logging from default to production, the log4j
configuration files are unpacked into GEOSERVER_DATA_DIR/logs and the
GEOSERVER_DATA_DIR/logs/geoserver.og file starts being used.

I am happy to report a bug / feature request, but would like to ask if I am
missing something obvious first.

Do we need a geoserver/rest/settings/logging endpoint to configure these
settings (or is it already too late after first launch).
--
Jody Garnett
Andrea Aime
2017-06-23 07:36:43 UTC
Permalink
Hi Jody,
wrong mailing list maybe? Looks like a "-devel" discussion.

Cheers
Andrea
Post by Jody Garnett
I am having fun using geoserver this week (I know that never happens that
developers get to use the thing they work on).
One of the experiments I have been doing it starting up geoserver with an
empty data directory and configuring it via the rest api. One "glitch" in
this work flow is configuring logging.
When I first start up geoserver logs are sent to catalina.out and are
available in tomcat/logs directory. The GEOSERVER_DATA_DIR/logs/geoserver.log
file is created but empty.
When I use the UI to change logging from default to production, the log4j
configuration files are unpacked into GEOSERVER_DATA_DIR/logs and the
GEOSERVER_DATA_DIR/logs/geoserver.og file starts being used.
I am happy to report a bug / feature request, but would like to ask if I
am missing something obvious first.
Do we need a geoserver/rest/settings/logging endpoint to configure these
settings (or is it already too late after first launch).
--
Jody Garnett
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
Jody Garnett
2017-06-23 16:17:46 UTC
Permalink
I was asking as a user and did not want to distract the developer list :)

The ability to start in an empty directory is something I only just learned
last year and I was having a chance to try it out.

(I am happy to improve the docs with what I learn though)

--
Jody Garnett
Post by Andrea Aime
Hi Jody,
wrong mailing list maybe? Looks like a "-devel" discussion.
Cheers
Andrea
Post by Jody Garnett
I am having fun using geoserver this week (I know that never happens that
developers get to use the thing they work on).
One of the experiments I have been doing it starting up geoserver with an
empty data directory and configuring it via the rest api. One "glitch" in
this work flow is configuring logging.
When I first start up geoserver logs are sent to catalina.out and are
available in tomcat/logs directory. The GEOSERVER_DATA_DIR/logs/geoserver.log
file is created but empty.
When I use the UI to change logging from default to production, the log4j
configuration files are unpacked into GEOSERVER_DATA_DIR/logs and the
GEOSERVER_DATA_DIR/logs/geoserver.og file starts being used.
I am happy to report a bug / feature request, but would like to ask if I
am missing something obvious first.
Do we need a geoserver/rest/settings/logging endpoint to configure these
settings (or is it already too late after first launch).
--
Jody Garnett
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Regards,
Andrea Aime
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313 <+39%200584%20962313>
fax: +39 0584 1660272 <+39%200584%20166%200272>
mob: +39 339 8844549 <+39%20339%20884%204549>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
Andrea Aime
2017-06-23 16:20:19 UTC
Permalink
I think that starting with a empty data dir was tried at some point, but
there
are no extensive tests and it stopped at "yes, it starts".

This requires a developer to make further changes to make starting from
an empty data dir a smoother experience

Cheers
Andrea
Post by Jody Garnett
I was asking as a user and did not want to distract the developer list :)
The ability to start in an empty directory is something I only just
learned last year and I was having a chance to try it out.
(I am happy to improve the docs with what I learn though)
--
Jody Garnett
Post by Andrea Aime
Hi Jody,
wrong mailing list maybe? Looks like a "-devel" discussion.
Cheers
Andrea
Post by Jody Garnett
I am having fun using geoserver this week (I know that never happens
that developers get to use the thing they work on).
One of the experiments I have been doing it starting up geoserver with
an empty data directory and configuring it via the rest api. One "glitch"
in this work flow is configuring logging.
When I first start up geoserver logs are sent to catalina.out and are
available in tomcat/logs directory. The GEOSERVER_DATA_DIR/logs/geoserver.log
file is created but empty.
When I use the UI to change logging from default to production, the
log4j configuration files are unpacked into GEOSERVER_DATA_DIR/logs and the
GEOSERVER_DATA_DIR/logs/geoserver.og file starts being used.
I am happy to report a bug / feature request, but would like to ask if I
am missing something obvious first.
Do we need a geoserver/rest/settings/logging endpoint to configure
these settings (or is it already too late after first launch).
--
Jody Garnett
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Regards,
Andrea Aime
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313 <+39%200584%20962313>
fax: +39 0584 1660272 <+39%200584%20166%200272>
mob: +39 339 8844549 <+39%20339%20884%204549>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be confidential
or proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
Loading...