Skip to main content
Question

FME Server - how to set log content similarly to FME workbench?


lazarlubomir
Contributor
Forum|alt.badge.img+7

Hello,

please, is it possible to set content of job log similarly to FME workbench. E.g. I want to log only STATS and WARN infomations in log file of FME server... I know how to set these parameters in Workbench, but is there same possibility in FME server please?

Thank You so much!

Lubo

5 replies

david_r
Evangelist
  • May 2, 2018

If I'm not mistaken, FME Server will use the log level set in FME Desktop when you publish the workspace to the server.


Forum|alt.badge.img+1

Hi @lazarlubomir - if you are using 2018, then the Logger transformer allows you to add custom log messages as information, warning or error. Previous to that you could use the MessageLogger custom transformer from the Hub to do this.

You might also want to take a look at the LogMessageStreamer transformer - I've not used it myself, but the Help suggests it lets you filter out particular categories of log messages (eg warns) and you would then write those to another output file perhaps.


lazarlubomir
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • May 2, 2018
david_r wrote:

If I'm not mistaken, FME Server will use the log level set in FME Desktop when you publish the workspace to the server.

Hello @david_r,

 

 

You´re right! It works... Is it only single possibility to edit this log settings? Or is it possible to edit this via FME Server UI?

 

 

Thank You so much!

 

 


lazarlubomir
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • May 2, 2018
1spatialmary wrote:

Hi @lazarlubomir - if you are using 2018, then the Logger transformer allows you to add custom log messages as information, warning or error. Previous to that you could use the MessageLogger custom transformer from the Hub to do this.

You might also want to take a look at the LogMessageStreamer transformer - I've not used it myself, but the Help suggests it lets you filter out particular categories of log messages (eg warns) and you would then write those to another output file perhaps.

Hello @1spatialmary,

 

 

thank You so much, I havent knew about MessageLogger tranformer on Hub, I will try it!

 


david_r
Evangelist
  • May 2, 2018
lazarlubomir wrote:
Hello @david_r,

 

 

You´re right! It works... Is it only single possibility to edit this log settings? Or is it possible to edit this via FME Server UI?

 

 

Thank You so much!

 

 

As far as I know this is currently the only way to influence the server job log setting. Consider voting for this idea to improve the functionality: https://knowledge.safe.com/idea/30804/set-fme-server-workspace-log-settings.html

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