- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- redirecting ftp logs
Operating System - HP-UX
1824517
Members
3914
Online
109672
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2006 04:15 PM
тАО11-09-2006 04:15 PM
redirecting ftp logs
Hellow! I tried to redirect ftp logs from syslog.log file to another. A changed the /etc/syslog.conf file as follow:
mail.debug /var/adm/syslog/mail.log
daemon.info /var/adm/syslog/inetd.log
*.info;mail.none;daemon.none /var/adm/syslog/syslog.log
But ftpd daemon still logging to syslog.log file. How can i redirect ftpd log to anothe file. Other inetd daemons are now logging into the /var/adm/syslog/inetd.log file
mail.debug /var/adm/syslog/mail.log
daemon.info /var/adm/syslog/inetd.log
*.info;mail.none;daemon.none /var/adm/syslog/syslog.log
But ftpd daemon still logging to syslog.log file. How can i redirect ftpd log to anothe file. Other inetd daemons are now logging into the /var/adm/syslog/inetd.log file
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2006 04:30 PM
тАО11-09-2006 04:30 PM
Re: redirecting ftp logs
ftpd logs using local5, not daemon. Add this line to syslog.conf:
local5.info /var/adm/syslog/ftp.log
HOWEVER, each line is processed one at a time. So unless you specify local5.none for your syslog.log file, ftpd will duplicate the messages in both files. It should look like this:
*.info;mail.none;local5.none /var/adm/syslog/syslog.log
Bill Hassell, sysadmin
local5.info /var/adm/syslog/ftp.log
HOWEVER, each line is processed one at a time. So unless you specify local5.none for your syslog.log file, ftpd will duplicate the messages in both files. It should look like this:
*.info;mail.none;local5.none /var/adm/syslog/syslog.log
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2006 04:30 PM
тАО11-09-2006 04:30 PM
Re: redirecting ftp logs
You need to know locale level that ftpd uses.
Then ftpd has option that does this. I think it's -i option. check man page of ftpd.
Then ftpd has option that does this. I think it's -i option. check man page of ftpd.
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2006 05:26 PM
тАО11-09-2006 05:26 PM
Re: redirecting ftp logs
Thanks for your help! I don't know why in man pages written that ftpd logs into daemon facility. Actually it logs into local5.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP