djzort/BZ-Client

Token-IDs are stored in log files.

Closed this issue · 4 comments

When making BZ:Client login request, token-IDs are stored in log files. When api_key is used for login, issue does not occur.
This happens when user and password is used for login.

Is there a way to turn this off?

Now, what works is to add a logger after login is successful.

image

Are you defining your own logging function via logger() ?

Yes!

Like so:

my $bz_client_logger = sub  { #BZ::Client logger subroutine 
	 my ($level, $msg) = @_;
			        print STDERR "$level $msg\n";
			        return 1;
	
};

Just filter out the values you dont want?

Indeed. Thanks!