- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can i redirect messages from ftpd to other log...
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
03-14-2004 11:37 PM
03-14-2004 11:37 PM
We have already removed -l from inetd.conf but that only stops logon/logoff messages from appearing in syslog.log.
My question is how can we stop logging or redirect to other log file?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2004 11:41 PM
03-14-2004 11:41 PM
Re: How can i redirect messages from ftpd to other logfile?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 12:34 AM
03-15-2004 12:34 AM
Solutiondaemon.info;mail.none /var/adm/syslog/daemon.log
Unfortunately - if you run MC/SG - then those messages will go there too...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 12:37 AM
03-15-2004 12:37 AM
Re: How can i redirect messages from ftpd to other logfile?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 03:05 AM
03-15-2004 03:05 AM
Re: How can i redirect messages from ftpd to other logfile?
I think Im on the right track now.
This configuration of /etc/syslog.conf makes all messages, like delete of files thru ftp, go to /var/adm/syslog/daemon.log.
# @(#)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
*.info;mail.none /var/adm/syslog/daemon.log
*.warning;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
Do you think we are going to loose any important messages with this configuration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 12:56 AM
01-21-2005 12:56 AM
Re: How can i redirect messages from ftpd to other logfile?
I've a similar problem.
I must redirect ftpd log in other file that are not syslog.log.
This is possible?
Look around the man of files like ftpaccess, inetd.conf I have not found nothing.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 02:46 AM
01-21-2005 02:46 AM
Re: How can i redirect messages from ftpd to other logfile?
Regards,
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 02:59 AM
01-21-2005 02:59 AM
Re: How can i redirect messages from ftpd to other logfile?
Looking at your setup the line:-
*.info;mail.none /var/adm/syslog/daemon.log
Would mean that any messages of the info level will go to daemon.log not just ftpd or other daemons. This could include authorisation messages from su etc. if they write to auth.info priority rather than say auth.alert or auth.err
Try having set up with
daemon.info;mail.none /var/adm/syslog/daemon.log
*.info;mail.none;daemon.none /var/adm/syslog/syslog.log
If ftpd is still writing messages to syslog.log then try
local5.info;mail.none /var/adm/syslog/local5.log
*.info;mail.none;local5.none /var/adm/syslog/syslog.log
You know you can test stuff user the logger command?
logger -p daemon.info "Daemon test message"
logger -p local5.info "local5 test message"
Regards,
Simon