Hello list,
I'm working on doing some configuration of syslogd, namely trying to split out
FTP data into a separate log file from the rest of the daemon records getting
logged.
Here's the relevant portion of the syslogd configuration:
*.ftp*.*.* /var/logs/ftpd.log
*.* /var/logs/syslog.log
My FTP server starts as a STC named FTPD which kicks off a batch job FTPD1 and
then exits like normal. I bounced syslogd and then ran an FTP to the sandbox
I'm experimenting on and this is the response I got.
Contents of syslog.log:
Oct 1 09:35:07 TSTJES2 syslogd: FSUM1220 syslogd: restart
Oct 1 09:35:07 TSTJES2 syslogd: FSUM1237 Job SYSLOGD running in local-only
mode
Oct 1 09:35:07 TSTJES2 syslogd: FSUM1232 syslogd: running non-swappable
Oct 1 09:35:23 TSTJES2 ftpdÝ33555332¨: EZYFS50I ID=FTPD100003 CONN starts
Client IPaddr=112.45.67.89 hostname=myhost
Oct 1 09:35:27 TSTJES2 ftpsÝ33555332¨: EZYFS56I ID=FTPD100003 ACCESS OK
USERID=RRP
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS60I ID=FTPD100003 ALLOC OK
Use MVS DSN=RRP.JCL(IEFBR14)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS61I ID=FTPD100003 ALLOC
DDNAME=SYS00001 VOLSER=SFG201 DSORG=PO DISP=(SHR,KEEP)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS60I ID=FTPD100003 ALLOC OK
Use MVS DSN=RRP.JCL(IEFBR14)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS61I ID=FTPD100003 ALLOC
DDNAME=SYS00002 VOLSER=SFG201 DSORG=PO DISP=(SHR,KEEP)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS70I ID=FTPD100003 DEALL OK
Release MVS DSN=RRP.JCL(IEFBR14)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS70I ID=FTPD100003 DEALL OK
Release MVS DSN=RRP.JCL(IEFBR14)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS60I ID=FTPD100003 ALLOC OK
Use MVS DSN=RRP.JCL(IEFBR14)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS61I ID=FTPD100003 ALLOC
DDNAME=SYS00004 VOLSER=SFG201 DSORG=PO DISP=(SHR,KEEP)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS70I ID=FTPD100003 DEALL OK
Release MVS DSN=RRP.JCL(IEFBR14)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS81I ID=FTPD100003 TRANS MVS
DSN=RRP.JCL(IEFBR14)
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS83I ID=FTPD100003 TRANS Stru=F
Mode=S Type=A Input=328 bytes
Oct 1 09:36:47 TSTJES2 ftpsÝ33555332¨: EZYFS80I ID=FTPD100003 TRANS Reply=250
Transfer completed successfully.
Oct 1 09:37:00 TSTJES2 ftpsÝ33555332¨: EZYFS52I ID=FTPD100003 CONN ends
Input=328 bytes Output=0 bytes
Contents of ftpd.log:
Oct 1 09:35:23 TSTJES2 ftpdÝ33555332¨: EZYFS50I ID=FTPD100003 CONN starts
Client IPaddr=172.16.128.2 hostname=prod1.sfg.corp.loca
Oct 1 09:35:27 TSTJES2 ftpsÝ33555332¨: EZYFS56I ID=FTPD100003 ACCESS OK
USERID=RRP
So 2 questions in regards to this:
1 How do I get all the information for the FTP session to route to the ftp
log instead of only the first couple messages?
2 Can I set it up to only route the ftp messages to the ftp log instead of
them going to both logs?
TIA,
Rex
The information contained in this message is confidential, protected from
disclosure and may be legally privileged. If the reader of this message is not
the intended recipient or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any disclosure,
distribution, copying, or any action taken or action omitted in reliance on it,
is strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by replying to this
message and destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN