- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can I redirect ftp log messages to other file?
Categories
Company
Local Language
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
Discussions
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
Community
Resources
Forums
Blogs
- 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
07-21-2004 02:02 PM
07-21-2004 02:02 PM
How can I redirect ftp log messages to other file?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:09 PM
07-21-2004 02:09 PM
Re: How can I redirect ftp log messages to other file?
Add this to /etc/syslog.conf
local5.info;mail.none /var/adm/syslog/ftp.log
Then get syslogd to re-read it's config.
# kill -HUP `cat /var/run/syslog.pid`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:34 PM
07-21-2004 02:34 PM
Re: How can I redirect ftp log messages to other file?
any further idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 03:03 PM
07-21-2004 03:03 PM
Re: How can I redirect ftp log messages to other file?
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=550369
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 04:29 PM
07-21-2004 04:29 PM
Re: How can I redirect ftp log messages to other file?
ftpd -L -lv -o -i
It will redirect all messages and logs to /var/adm/syslog/xferlog log file.
Reconfigure the inetd as inetd -c and check now.
see ftpd man page for there optiongs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 12:39 AM
07-22-2004 12:39 AM
Re: How can I redirect ftp log messages to other file?
# @(#)B.11.11_LR
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
daemon.info;mail.none /var/adm/syslog/daemon.log
*.info;mail.none,daemon.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
Unfortunately for me, that also moved all the cluster logging as well.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 01:27 AM
07-22-2004 01:27 AM
Re: How can I redirect ftp log messages to other file?
Michael gave the solution, just change the name of the log from /var/adm/syslog/ftp.log
to /var/adm/syslog/ftp.log.
Then ftp.log in ftplog without the dot.
This is an error that is in ITRC document too.
I had the same problem and wondered when I deleted the dot it worked for me!
Definitively Fred do all operations as Michael suggested with that change and it would work for you too.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 01:28 AM
07-22-2004 01:28 AM
Re: How can I redirect ftp log messages to other file?
I mean change from /var/adm/syslog/ftp.log in /var/adm/syslog/ftplog
without dot.
Best regards,
Fabio