edit the services.xml file in <geoserverwebappdir>/data directory and
change the line:
<loggingLevel>INFO</loggingLevel>
as indicated in the comment above that line in the same file
-----Mensaje original-----
De: Andrea Aime [mailto:andrea.aime@anonymised.com]
Enviado el: viernes, 19 de diciembre de 2003 13:03
Para: Geoserver-devel
Asunto: [Geoserver-devel] Logging getting me mad...
Hi everybody,
what I have to do to make geoserver log everything to the
standard output? I already set the logging level of the
console to FINE and the org.vfny.geoserver.level to FINE,
but this does not change anything...
Best regards
Andrea Aime
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
The only services.xml file around here is in WEB-INF and the
level is already set to FINE, but I can see all the FINE output
only on the tomcat log file, not on the console. On the console
I see only some of the messages at the FINE level thought, the last
message I see during initialization is "parsing global configuration parameters",
the others appear only in the file. What is strange, this is exactly
the point in source code where the Log4JFormatter is instantiated...
Best regards
Andrea
ROLDAN, Gabriel raul wrote:
edit the services.xml file in <geoserverwebappdir>/data directory and
change the line:
<loggingLevel>INFO</loggingLevel>
as indicated in the comment above that line in the same file
Basically geoserver overrides the java logging.properties, as we assume
that most end users do not want to have to figure out what their
logging.properties file is just to see more logging messages. What you
should try doing is just commenting out the Log4JFormatter init calls, and
it will actually use your set handlers and levels.
I was never able to get it to log to the console though, but I never
really tried. I just use the catalina.out. I think if you want those
messages on the console you have to configure tomcat, to put it's output
to the console. For some reason, which I never motivated to actually
figure out, the built-in tomcat that we have _does_ print to console, so
another quick and dirty way to see logging is to just use that. Just type
'ant test', and then access at http://localhost:8081/wfs/GetCapabilities
and whatnot. It's what I usually use for testing purposes.
Chris
On Fri, 19 Dec 2003, Andrea Aime wrote:
The only services.xml file around here is in WEB-INF and the
level is already set to FINE, but I can see all the FINE output
only on the tomcat log file, not on the console. On the console
I see only some of the messages at the FINE level thought, the last
message I see during initialization is "parsing global configuration parameters",
the others appear only in the file. What is strange, this is exactly
the point in source code where the Log4JFormatter is instantiated...
Best regards
Andrea
ROLDAN, Gabriel raul wrote:
> edit the services.xml file in <geoserverwebappdir>/data directory and
> change the line:
> <loggingLevel>INFO</loggingLevel>
> as indicated in the comment above that line in the same file
>
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
How about
tail -f /var/log/tomcat/<your-log-file>?
On Fri, 19 Dec 2003, Chris Holmes wrote:
Basically geoserver overrides the java logging.properties, as we assume
that most end users do not want to have to figure out what their
logging.properties file is just to see more logging messages. What you
should try doing is just commenting out the Log4JFormatter init calls, and
it will actually use your set handlers and levels.
I was never able to get it to log to the console though, but I never
really tried. I just use the catalina.out. I think if you want those
messages on the console you have to configure tomcat, to put it's output
to the console. For some reason, which I never motivated to actually
figure out, the built-in tomcat that we have _does_ print to console, so
another quick and dirty way to see logging is to just use that. Just type
'ant test', and then access at http://localhost:8081/wfs/GetCapabilities
and whatnot. It's what I usually use for testing purposes.
Chris
On Fri, 19 Dec 2003, Andrea Aime wrote:
> The only services.xml file around here is in WEB-INF and the
> level is already set to FINE, but I can see all the FINE output
> only on the tomcat log file, not on the console. On the console
> I see only some of the messages at the FINE level thought, the last
> message I see during initialization is "parsing global configuration parameters",
> the others appear only in the file. What is strange, this is exactly
> the point in source code where the Log4JFormatter is instantiated...
>
> Best regards
> Andrea
>
> ROLDAN, Gabriel raul wrote:
>
> > edit the services.xml file in <geoserverwebappdir>/data directory and
> > change the line:
> > <loggingLevel>INFO</loggingLevel>
> > as indicated in the comment above that line in the same file
> >
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
> Free Linux Tutorials. Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
--
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
joe dumoulin wrote:
How about
tail -f /var/log/tomcat/<your-log-file>?
Using Windows here, no tail command :-(. Anyway, I've found
a tail replacement for Windows on sourceforge... nice
Andrea