loglevel notification

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
waltherp
Posts: 1
Joined: Thu Aug 19, 2010 4:21 am
Location: Eindhoven

loglevel notification

Post by waltherp »

Hi,

I'm using sftp via COZBATCH using password.
in the output I get the lines:
1)Co:Z cozsftp version: 1.7.2 (5.0p1) 2010-07-23
2)Copyright (C) Dovetailed Technologies, LLC. 2008. All rights reserved.
3)fromdsn(xxxxxxx.PASSWD(INTERN))[N]: 1 records/80 bytes read; 7 bytes written

I cannot find a way to suppress line 3 even with lzopts loglevel=E.
What should I do because I don't want to expose the PASSWD dataset

Thanx,
Walther
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

The "fromdsn" message that you are seeing (at "Notification" level) is from the "read_passwd_dsn.sh" shell script. Its logging level is not affected by lzopts, which only applies to the cozsftp command itself.

Recommendation:

1) Add this to the beginning of your COZBATCH shell script:

export COZ_LOG=E

2) The cozsftp logging level will also then default to "E", so you may want to set it lower if you want to see log messages from the cozsftp client.

lzopts loglevel=I

BTW: I don't really understand your concern about printing the name of the password dataset. Hopefully, it is protected so that it can't be read.

Also, you may want to look into using SSH keys stored in SAF(RACF/ACF2/TS) keyrings.
Post Reply