Skip to main content
Question

Warn messages in the log file

  • June 2, 2025
  • 1 reply
  • 23 views

michaels
Contributor
Forum|alt.badge.img+4

Since version 2025, we've had warning messages in the log file when we start the Workbench via batch call. When we start the Workbench manually, we don't see these warning messages. How can we disable them? Is there an FME parameter for this?

Example Reader-Warning (see red columns):
2025-06-02 13:14:05| 5.0| 0.0|INFORM|Executing metadata query: 'SELECT f_table_name, f_geometry_column, coord_dimension, srid, type FROM geometry_columns WHERE f_table_schema = 'public' AND f_table_name = 'example_for_fme''
2025-06-02 13:14:05| 5.0| 0.0|INFORM|spatialColName: -> 'geom'
2025-06-02 13:14:05| 5.0| 0.0|INFORM|spatialColDim: -> '2'
2025-06-02 13:14:05| 5.0| 0.0|INFORM|spatialColSRID: -> '2056'
2025-06-02 13:14:05| 5.0| 0.0|INFORM|spatialColGeomType: -> 'POINT'
2025-06-02 13:14:05| 5.0| 0.0|INFORM|spatialColType: -> 1
2025-06-02 13:14:05| 5.0| 0.0|INFORM|authority query:
2025-06-02 13:14:05| 5.0| 0.0|INFORM|select auth_name, auth_srid, srtext from spatial_ref_sys where srid = '2056'
2025-06-02 13:14:05| 5.0| 0.0|WARN |columns:
2025-06-02 13:14:05| 5.0| 0.0|WARN |"id","bfsnr","anz_einw","strasse","eingangsnr","gemeinde","gv_nr","koord_quelle","ortschaft","plz","xkoord","ykoord","istoffiziellebez","egid","edid"
2025-06-02 13:14:05| 5.0| 0.0|WARN |spatialColName:
2025-06-02 13:14:05| 5.0| 0.0|WARN |geom
2
025-06-02 13:14:05| 5.0| 0.0|INFORM|Executing data query: 'declare "public_example_for_fme_crsr" cursor for select "id","bfsnr","anz_einw","strasse","eingangsnr","gemeinde","gv_nr","koord_quelle","ortschaft","plz","xkoord","ykoord","istoffiziellebez","egid","edid", ST_AsEWKB("geom") as "geom" from "public"."example_for_fme" where bfsnr = '9999''


Example Writer-Warning:
2025-06-02 13:14:23|  15.9|  0.0|INFORM|postgis_type -> 'postgis_none'
2025-06-02 13:14:23|  15.9|  0.0|WARN  |Table mode set initially: 
2025-06-02 13:14:23|  15.9|  0.0|WARN  |Insert

2025-06-02 13:14:23|  15.9|  0.0|INFORM|postgis_mode -> 'INHERIT_FROM_WRITER'

2025-06-02 13:14:23|  15.9|  0.0|INFORM|Using existing table 'public.writer_example_for_fme'
2025-06-02 13:14:24|  15.9|  0.0|WARN  |columns:
2025-06-02 13:14:24|  15.9|  0.0|WARN  |"id","int4","bfsnr","text","status","text","gebdatum","timestamp","gebjahr","numeric(4,0)","weiteres","text"
2025-06-02 13:14:24|  15.9|  0.0|WARN  |spatialColName:
2025-06-02 13:14:24|  15.9|  0.0|WARN  |geom

2025-06-02 13:14:24|  15.9|  0.0|INFORM|Commit every '1000000' feature(s)

 

 

 

It's very, very important that we get these warning messages out of the log files, especially since they don't actually report anything. And this should be fairly generic (e.g., with a parameter that we can specify) because we have approximately 3,500 workbenches. We can't customize all of them.

Thanks very much for your help

1 reply

crutledge
Influencer
Forum|alt.badge.img+33
  • Influencer
  • June 2, 2025

Hi ​@michaels I wonder if you can control that in the workbench settings? And if that doesn’t make a difference on the batch call then there must be a Set Warnings to false in the batch call.

Hope that helps.
 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings