docs: Explain how to silence overly verbose messages by fop
authorAndres Freund <[email protected]>
Fri, 24 Mar 2023 21:18:40 +0000 (14:18 -0700)
committerAndres Freund <[email protected]>
Fri, 24 Mar 2023 21:18:40 +0000 (14:18 -0700)
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/20230324194701[email protected]

doc/src/sgml/docguide.sgml

index 35c4afc81ad9d23ec23df916b93008bf5649dece..261952085e218a588128675c1265482c06e11a28 100644 (file)
@@ -373,6 +373,16 @@ ADDITIONAL_FLAGS='-Xmx1500m'
     swapping or will not work at all.
    </para>
 
+   <para>
+    In its default configuration <productname>FOP</productname> will emit an
+    <literal>INFO</literal> message for each page. The log level can be
+    changed via <filename>~/.foprc</filename>:
+<programlisting>
+LOGCHOICE=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
+LOGLEVEL=-Dorg.apache.commons.logging.simplelog.defaultlog=WARN
+</programlisting>
+   </para>
+
    <para>
     Other XSL-FO processors can also be used manually, but the automated build
     process only supports FOP.