Skip to main content

HI guys,

I have a question, in FME 2017.1 when we execute a command line with the SystemCaller, the command is prompt in the log and the password is in clear .... Do you have any tips to fixe it ? (I was thinking to rewrite the log to erase or hide it) .

 

 

The passwords are from private parameters and contains the word "password" inside.
Are those private parameters of the type "Password"?

 

 


Indeed not good. A workaround I can think of is, stop logging before and re-start logging after, using two PythonCallers.

PythonCaller before SystemCaller: Stop logging

import fmeobjects
def setLogSilent(feature):
    fmeobjects.FMELogFile().silent(True)

PythonCaller after SystemCaller: Re-start logging

import fmeobjects
def unsetLogSilent(feature):
    fmeobjects.FMELogFile().silent(False)

Are those private parameters of the type "Password"?

 

 

Yes it's the type password

 

 


Reply