Skip to main content
Question

How to count FeatureWriter transformer's output into "Feature Written Summary" of the log?


Forum|alt.badge.img

Hi! I have a FME workspace using FeatureWriter to write record to some tables. When running it from desktop, it populates the tables as expected. However, if I look at the log after job is completed, the "Features Written Summary" section at the end seem to be misleading by show "0", while I know that there are actually features written.

Do I need to do any change in my FME workspace to add the count to the summary? Thank you!

Below is the summary part of the log:

Below is the part of log for FeatureWriter, which does give the count:

11 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • September 29, 2017

Hi @sui_huang,

I simulated here in my FME Desktop 2017 version and the log file was recorded the features created by transformer FeatureWriter.

The Log file has the first feature writer using the transformer FeatureWriter ( blue color in image )

The Information on LogFile Features Written Summary describe if you has a object Writer instead the Trasnformer FeatureWriter.

I believe that this information is in your LogFile position like my image attached.

Thanks,

Danilo


Forum|alt.badge.img
  • Author
  • September 29, 2017
danilo_fme wrote:

Hi @sui_huang,

I simulated here in my FME Desktop 2017 version and the log file was recorded the features created by transformer FeatureWriter.

The Log file has the first feature writer using the transformer FeatureWriter ( blue color in image )

The Information on LogFile Features Written Summary describe if you has a object Writer instead the Trasnformer FeatureWriter.

I believe that this information is in your LogFile position like my image attached.

Thanks,

Danilo

Hi @danilo_inovacao the log I got in FME 2016 is similar to yours. There is a separated part of the log showing the count for FeatureWriter transformer. I also think (as you said) that the summary count maybe only for the Writers but not the FeatureWriter transformer...if it is only run on my desktop I think I am ok with it.

 

 

However, when I posted the FME workspace to FME Server, the summary count will be highlighted in the job summary. I can only see the FeatureWriter counts only if I check log detail. This may cause confusion to other people managing the FME Server, so I post this question and hoping there is a solution to make things easier.

 

 

Essentially the issue roots from FME desktop, even though the FME Server will make the consequence bigger.

 

 


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • September 29, 2017
sui_huang wrote:
Hi @danilo_inovacao the log I got in FME 2016 is similar to yours. There is a separated part of the log showing the count for FeatureWriter transformer. I also think (as you said) that the summary count maybe only for the Writers but not the FeatureWriter transformer...if it is only run on my desktop I think I am ok with it.

 

 

However, when I posted the FME workspace to FME Server, the summary count will be highlighted in the job summary. I can only see the FeatureWriter counts only if I check log detail. This may cause confusion to other people managing the FME Server, so I post this question and hoping there is a solution to make things easier.

 

 

Essentially the issue roots from FME desktop, even though the FME Server will make the consequence bigger.

 

 

Yes @sui_huang, i agree with you that it may cause confusion to read the written features on FME Server.

 

 

You can suggest an idea to an improved detailing of LogFile in FME Server :

 

Post New Idea

 

 

Thanks,

 

Danilo

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • September 30, 2017

Thanks for pointing this out. This is an oversight on our part and I can see how it might be misleading. We'll see how we can get some kind of statistical summary back into the logfile for a FeatureWriter situation.


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • September 30, 2017
fmelizard wrote:

Thanks for pointing this out. This is an oversight on our part and I can see how it might be misleading. We'll see how we can get some kind of statistical summary back into the logfile for a FeatureWriter situation.

Thanks @daleatsafe to your reply.

 

FME always in constant evolution :)

 

 


Forum|alt.badge.img
  • Author
  • October 2, 2017
fmelizard wrote:

Thanks for pointing this out. This is an oversight on our part and I can see how it might be misleading. We'll see how we can get some kind of statistical summary back into the logfile for a FeatureWriter situation.

@daleatsafe

 

Thank y

 

ou for responding so quickly. This makes me having a good faith that FME will keep being improved.

  • December 10, 2019

Hi @daleatsafe,

I see that this issue was raised in 2017, however, I'm currently working with v2019.0.2 and I am still facing the same issue.

Does this issue still stand unresolved or am I missing something? I see this issue on both FME Desktop and FME Server.


timboberoosky
Contributor
Forum|alt.badge.img+6
  • Contributor
  • September 24, 2024

Has there been any developments on this? I’m using 2024 and I still see the FeatureWriter(s) written summaries further up in the log file and not accounted for in the Total Features Written at the end of the log. The information is there but it would be helpful to be able to pull it all in at the end and be included in the overall summary.


kailinatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • September 27, 2024

Hello @timboberoosky, thanks for checking in with us. Unfortunately, there have not been any developments on this idea. Have you seen & upvoted the related FME Idea? Alternatively, you could try adding a logger transformer near the end of a workspace or a python shutdown script, that would present the total features written? This might not be worth the effort, but something to try. Sorry I don’t have better news, Kailin. 


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • September 27, 2024

Along the same lines...if Redirect to Inspector is chosen it would be nice for FeatureWriter to honor that as well.


kailinatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • September 27, 2024

Hello @dustin, thank you for this feedback, I will make note of this & pass it along. All the best, Kailin


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