Skip to main content
Open

FME Desktop - ability to turn off logging of SQL statements

Related products:Transformers
siennaatsafe
tomf
juanmahere
kahlen
+9
  • siennaatsafe
    siennaatsafe
  • tomf
    tomf
  • juanmahere
    juanmahere
  • kahlen
    kahlen
  • erooen
  • zaneta.mark
    zaneta.mark
  • geoinfomartin
  • dpinhe
  • kd
  • john_gis4
    john_gis4
  • tomcolley
    tomcolley
  • jorge_vidinha
    jorge_vidinha
  • denniswilhelm
    denniswilhelm
  • leiteines

john_gis4
Contributor

I'm using FME Desktop 2020 and have a workbench with several SQLExecutor transformers. These are performing 1000s of SQL queries against a PostGIS database and working fine. The only issue I have is that every SQL statement is being logged in the FME log, which is creating a bloated log file (100s of MBs in size).

 

I don't need to see the individual SQL statements in the FME log, but these are coming through as INFO level messages (I would actually class this type of logging as DEBUG not INFO level log messages).

 

I know there are options to turn off INFO messages, but other INFO messages may be useful.


So it would be beneficial to either:

  • Treat logging of SQL statements as DEBUG level messages so that they do not get logged with the default INFO level set.
  • Have an option to turn off logging of SQL statements globally.
  • Have an option to turn off logging of SQL statements on the individual transformers (e.g. SQLExecutor, SQLCreator).

This would prevent bloated log files when hundreds/thousands of SQL statements are executed during a workbench run.  

2 replies

Forum|alt.badge.img+2
  • October 16, 2020

  • October 26, 2020

Hi, sharing that have the same issue. Thanks for bringing it here. I'm generating huge weighted logs for the iterations using the SQL executer (e.g. a process that created my logs weighted about 119MB in a 2016.1 FME version increase to about 4GB using FME 2019.1, to provide a scale of the incremental )... Thanks


Reply


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