Skip to main content
Question

The wrong log file gets updated

  • February 27, 2020
  • 6 replies
  • 27 views

fmenco
Contributor
Forum|alt.badge.img+5

I run a workbench automatically through task scheduler. I've recently renamed this workbench (let's call the old one workbenchA, and the new on workbenchB). I have also updated the task. However, whenever this workbench runs through the taskscheduler, the logfile that gets created or updated is the one referring to the old name (so workbenchA.log). It does run workbenchB and says it as well in the workbenchA.log, but just sticks to the old filename when it comes to logging.

I've already emptied my user temp folder. I've also now renamed workbenchA. But it still does it. It's like something is stuck in cache memory somewhere, but I don't know where to look. Also, when I manually start the workbenchB it does create a logfile with the correct name.

 

I Have FME Desktop version 2019.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • February 27, 2020

Is there a logfile set in the workspace parameters?

 


fmenco
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 86 replies
  • February 27, 2020

Is there a logfile set in the workspace parameters?

 

I just checked and no there's no logfile set in the workspace parameters.


virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • February 27, 2020

I would try clearing the task from the scheduler and then resetting it up again (if you haven't tried that yet)


tibor
Contributor
Forum|alt.badge.img+2
  • Contributor
  • 11 replies
  • February 27, 2020

The problem lies in the renaming issue.

FME Stores the Workspace name when it's saves the workspace. That name is by default used for the logfile name.

Try SaveAs instead of renaming the FMW file.

 


fmenco
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 86 replies
  • February 28, 2020

The problem lies in the renaming issue.

FME Stores the Workspace name when it's saves the workspace. That name is by default used for the logfile name.

Try SaveAs instead of renaming the FMW file.

 

Yes, this did the trick! Thank you!


fmenco
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 86 replies
  • February 28, 2020

I would try clearing the task from the scheduler and then resetting it up again (if you haven't tried that yet)

Yes, I tried this. The issue was the renaming itself (see answer above) :-)… Thank you