For sorting out another issue I had to change my log4jConfigFile. This resulted in the following warning. I only had the PRODUCTION_LOGGING.properties in “dataDir/logs”, so the warning is definitely spot-on!
2014-04-03 11:35:35,401 WARN [geoserver.logging] - log4jConfigFile ‘GEOTOOLS_DEVELOPER_LOGGING.properties’ couldn’t be found in the data dir, so GeoServer will install the various logging config file into the data dir, and then try to find it again.
The various config files were indeed installed, but not to the data dir (which is configured on our geoserver instance using the GEOSERVER_DATA_DIR context parameter). The files are installed in “tomcatDir/logs”. So what’s the correct location to put these log4j config files?
Experienced this behavior in both geoserver 2.4.0 and 2.5.
Volg Aquafin op Facebook | Twitter | YouTube | LinkedIN
Disclaimer: zie www.aquafin.be P Denk aan het milieu. Druk deze mail niet onnodig af.
On Thu, Apr 3, 2014 at 5:32 PM, Roel De Nijs <roel.denijs@anonymised.com> wrote:
For sorting out another issue I had to change my log4jConfigFile. This
resulted in the following warning. I only had the
PRODUCTION_LOGGING.properties in "dataDir/logs", so the warning is
definitely spot-on!
2014-04-03 11:35:35,401 WARN [geoserver.logging] - log4jConfigFile
'GEOTOOLS_DEVELOPER_LOGGING.properties' couldn't be found in the data dir,
so GeoServer will install the various logging config file into the data
dir, and then try to find it again.
The various config files were indeed installed, but not to the data dir
(which is configured on our geoserver instance using the GEOSERVER_DATA_DIR
context parameter). The files are installed in "tomcatDir/logs". So what's
the correct location to put these log4j config files?
Experienced this behavior in both geoserver 2.4.0 and 2.5.
Yes, it's a known issue:
http://jira.codehaus.org/browse/GEOS-6186
The current suggested patch received negative comments, hopefully next week
I'll find the time to verify the issue and amend the patch in a more
suitable way
Cheers
Andrea
--
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------