Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
BuTbka
Creator II
Creator II

Connection name in task log

Hi!
Is the any way to log connection name instead of asterisks?
Now in the logs I see
OLEDB CONNECT TO *** (XPassword is ***)

Labels (3)
1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

I think you can get the current connection name using ConnectString() and then log it yourself.

Let vConnectString = ConnectString();
Trace 'Connected to: $(vConnectString)';

https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/C...

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

View solution in original post

3 Replies
rwunderlich
MVP
MVP

I think you can get the current connection name using ConnectString() and then log it yourself.

Let vConnectString = ConnectString();
Trace 'Connected to: $(vConnectString)';

https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/C...

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

BuTbka
Creator II
Creator II
Author

@rwunderlich thanks for solution!
But we have a lot of dashboards and in this case we will have to edit scripts for almost all of them (
I thought that somewhere in the configs there was an option to disable asterisks.

rwunderlich
MVP
MVP

No option to disable the asterisks. It's considered a security risk to log the connection string as it may contain credential info.

-Rob