You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by al...@apache.org on 2007/06/11 18:04:56 UTC
svn commit: r546179 -
/incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/annotator_analysis_engine_guide.xml
Author: alally
Date: Mon Jun 11 09:04:55 2007
New Revision: 546179
URL: http://svn.apache.org/viewvc?view=rev&rev=546179
Log:
UIMA-368: Doc update for how to set logging config file using environment variable.
Modified:
incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/annotator_analysis_engine_guide.xml
Modified: incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/annotator_analysis_engine_guide.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/annotator_analysis_engine_guide.xml?view=diff&rev=546179&r1=546178&r2=546179
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/annotator_analysis_engine_guide.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/annotator_analysis_engine_guide.xml Mon Jun 11 09:04:55 2007
@@ -965,13 +965,20 @@
<programlisting><?db-font-size 70% ?>java "-Djava.util.logging.config.file=C:/Program Files/apache-uima/config/Logger.properties"</programlisting>
<note><para>In a shell script, you can use environment variables such as
UIMA_HOME if convenient.</para></note> </para>
-
+
<para>If you are using Eclipse to launch your application, you can set this property
in the VM arguments section of the Arguments tab of the run configuration screen. If
you've set an environment variable UIMA_HOME, you could for example, use the
string:
<literal>"-Djava.util.logging.config.file=${env_var:UIMA_HOME}/config/Logger.properties".</literal>
</para>
+
+ <para>If you running the .bat or .sh files in the UIMA SDK's <literal>bin</literal> directory, you can specify the location of your
+ logger configuration file by setting the <literal>UIMA_LOGGER_CONFIG_FILE</literal> environment variable prior to running the script,
+ for example (on Windows):
+
+ <programlisting><?db-font-size 70% ?>set UIMA_LOGGER_CONFIG_FILE=C:/myapp/MyLogger.properties</programlisting>
+ </para>
</section>
<section id="ugr.tug.aae.logging.setting_logging_levels">