Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
BuTbka
Creator
Creator

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 (2)
1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/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
Partner Ambassador/MVP
Partner Ambassador/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
Creator
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
Partner Ambassador/MVP
Partner Ambassador/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