How can i disable context info in log or console?

One Star

How can i disable context info in log or console?

when i run a job, the parameter i config in context file are printed in log/console. How can i disable this function?
One Star

Re: How can i disable context info in log or console?

Hi
What components do you use in your job? tConecxtLoad?
Regards,
Pedro
One Star

Re: How can i disable context info in log or console?

yes, tConecxtLoad, but it is setup in project. please see attached. thanks.
Hi
What components do you use in your job? tConecxtLoad?
Regards,
Pedro
One Star

Re: How can i disable context info in log or console?

Hi
Do not check the option "Print operations".
Then it won't get context info on console.
Regards,
Pedro
One Star

Re: How can i disable context info in log or console?

it's ok, thanks. and can i also exclude this info bellow?
connecting to socket on port 3420
connected
Info: Parameter "FIServer" is a new parameter of Implicit_Context_Context
Info: Parameter "FIPort" is a new parameter of Implicit_Context_Context
Info: Parameter "FIDatabase" is a new parameter of Implicit_Context_Context
Info: Parameter "FIUsername" is a new parameter of Implicit_Context_Context
Info: Parameter "FIPassword" is a new parameter of Implicit_Context_Context
Info: Parameter "RMServer" is a new parameter of Implicit_Context_Context
Info: Parameter "RMPort" is a new parameter of Implicit_Context_Context
......
Hi
Do not check the option "Print operations".
Then it won't get context info on console.
Regards,
Pedro
One Star

Re: How can i disable context info in log or console?

Hi
Which version of TOS do you use?
I use the same settings as the image above and I didn't get this info.
Regards,
Pedro
One Star

Re: How can i disable context info in log or console?

i use TDQ 4.1.2
Hi
Which version of TOS do you use?
I use the same settings as the image above and I didn't get this info.
Regards,
Pedro
Seven Stars

Re: How can i disable context info in log or console?

This is coming from the "If a variable loaded, but not in the context", which you have set to Info. So if you don't want them printed, check the "Disable info" option.
One Star

Re: How can i disable context info in log or console?

Fine, thanks.
And another question, when config DB connection, if encrypted password can be used in context file? and how to make it?
Hi
Please update it to 5.0 above.
Regards,
Pedro
One Star

Re: How can i disable context info in log or console?

Hi
No. You have to create the custom routine to encrypt your password and decrypt it.
Besides, do you see Alevy's advice? Check "Disable info".
Regards,
Pedro
One Star

Re: How can i disable context info in log or console?

yes, it works.
For encrypt password, you mean in context file, we must config the clear password, right?
Hi
No. You have to create the custom routine to encrypt your password and decrypt it.
Besides, do you see Alevy's advice? Check "Disable info".
Regards,
Pedro
One Star

Re: How can i disable context info in log or console?

Thanks, alevy, it works fine.
This is coming from the "If a variable loaded, but not in the context", which you have set to Info. So if you don't want them printed, check the "Disable info" option.
One Star

Re: How can i disable context info in log or console?

Hi
You might encrypt the password with your own algorithm outside Talend Studio.
Then use custom routine to decrypt the password.
Regards,
Pedro