librelist archives

« back to archive

install package logfile

install package logfile

From:
Reinier Battenberg
Date:
2011-11-23 @ 11:12
Hi,

I installed from the ubuntu packages. Nothing fancy, totally clean.

When i started searching for logfiles i found that the file 

/var/lib/geoserver/geonode-data/logs/geoserver.log

does not exist. Even the 'logs' folder does not.

Still, in the folder /var/log/geonode/ a link to this file is created.

I tried creating the logs folder and touching the geoserver.log file, but 
nothing is written to the file (though I have an internal server error, which 
I hope is logged with some more detail, once we pass this hurdle)

The content of the logging.xml file in the /var/lib/geoserver/geonode-data 
folder is

<logging>
  <level>DEFAULT_LOGGING.properties</level>
  <location>logs/geoserver.log</location>
  <stdOutLogging>true</stdOutLogging>
</logging>


Any clues how to get anything meaningful in the geoserver.log file?


-- 
rgds,

Reinier Battenberg
Director
Mountbatten Ltd.
+256 758 801 749
www.mountbatten.net
http://twitter.com/batje
http://twitter.com/mapuganda

Re: [geonode] install package logfile

From:
David Winslow
Date:
2011-11-28 @ 13:52
If GeoServer is not creating a log file, Tomcat typically adds some error
output to /var/log/tomcat/catalina.out or
/var/log/tomcat/localhost.($date).log .  You can look there to hopefully
find some information about your problem.

--
David Winslow
OpenGeo - http://opengeo.org/

On Wed, Nov 23, 2011 at 6:12 AM, Reinier Battenberg <
reinier.battenberg@mountbatten.net> wrote:

> Hi,
>
> I installed from the ubuntu packages. Nothing fancy, totally clean.
>
> When i started searching for logfiles i found that the file
>
> /var/lib/geoserver/geonode-data/logs/geoserver.log
>
> does not exist. Even the 'logs' folder does not.
>
> Still, in the folder /var/log/geonode/ a link to this file is created.
>
> I tried creating the logs folder and touching the geoserver.log file, but
> nothing is written to the file (though I have an internal server error,
> which
> I hope is logged with some more detail, once we pass this hurdle)
>
> The content of the logging.xml file in the /var/lib/geoserver/geonode-data
> folder is
>
> <logging>
>  <level>DEFAULT_LOGGING.properties</level>
>  <location>logs/geoserver.log</location>
>  <stdOutLogging>true</stdOutLogging>
> </logging>
>
>
> Any clues how to get anything meaningful in the geoserver.log file?
>
>
> --
> rgds,
>
> Reinier Battenberg
> Director
> Mountbatten Ltd.
> +256 758 801 749
> www.mountbatten.net
> http://twitter.com/batje
> http://twitter.com/mapuganda
>
>
>