Operating System - HP-UX
1834165 Members
2435 Online
110064 Solutions
New Discussion

Log ftpd trace to another file. Not in syslog.log.

 
Benedetto Mangiapane
Frequent Advisor

Log ftpd trace to another file. Not in syslog.log.

Hi,
It is possible cofigure the ftpd to log own messages in a specific file?
Thanks.

Benedetto.
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: Log ftpd trace to another file. Not in syslog.log.

Hi Benedetto,

Check this doc.

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072079597

How can ftp entries be routed to a file separate from syslog? DocId: UCMDSKBAN00001065

Hope this helps,
Robert-Jan
Geoff Wild
Honored Contributor

Re: Log ftpd trace to another file. Not in syslog.log.

Yes - via local05 in syslog:

£ added local5 line to log ftp access to a separate file
mail.debug /var/adm/syslog/mail.log
local5.info /var/adm/syslog/local5ftp.log
*.info;mail.none;local5.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *

Then restart syslog...

Rdgs...Geo
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
RAC_1
Honored Contributor

Re: Log ftpd trace to another file. Not in syslog.log.

You can use local.info directive in syslog.conf. also look at the ftpd options -L, -i, -o and -l

Anil
There is no substitute to HARDWORK
Benedetto Mangiapane
Frequent Advisor

Re: Log ftpd trace to another file. Not in syslog.log.

Thanks
I solved my problem.

The redirect file (for example ftp.log), it comes managed like syslog.log?
When the file reach a limit dimension, it creates a backup for a file?
Thanks.

Benedetto.