- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: [help]question about the syslogd[help]
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
04-23-2003 11:08 PM
04-23-2003 11:08 PM
local3.info @LOG-server
after restart the syslogd,It works.but the A-server sent the tcp-wrapper's log to LOG-server's /var/adm/syslog/syslog.log ,but I wanna use a specified log file to store the tcp-wrapper's log(for example /var/adm/syslog/A-server.tcpd.log)
so what should I do to implement it?thanks!
BTW:I already have a way to do this job but not good.
A-server in /etc/syslog.conf:
local3.info @LOG-server
LOG-server in /etc/syslog.conf:
local3.info /var/adm/syslog/A-server.tcpd.log
and it work.but the problem is The system only provide 8 facility (local0 to local7),and I have of course more the 8 server to sent logs.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 01:18 AM
04-24-2003 01:18 AM
SolutionI think if you have more than 8 servers, but only can use local0-7 you'll have to put them all in one log, then use grep to pull the data out for the specific hostname that you want.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 02:34 PM
04-24-2003 02:34 PM
Re: [help]question about the syslogd[help]
do this in its /etc/syslog.conf file
*.info;mail.none;local3.none /var/adm/syslog/syslog.log
local3.info /var/adm/syslog/A-server.tcpd.log
on server B all you have to do in its /etc/syslog.conf is
*.info;mail.none @LOG-server
and if you want a local copy
then add
local3.info /var.....
/sbin/init.d/syslogd stop; /sbin/init.d/syslogd start
peace
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 02:38 PM
04-24-2003 02:38 PM
Re: [help]question about the syslogd[help]
all day and sort by server name then route the logs to respective logs for each server.
or you can write a simple grep script to run once a day and chop up the log file and creat mutliple log files per server.
my 2 cents.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 05:43 PM
04-24-2003 05:43 PM
Re: [help]question about the syslogd[help]
maybe the solution is just add a script to cut the log to multiple logs. thank you again! 8-)