- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Syslog.conf Question?
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
10-15-2002 05:36 AM
10-15-2002 05:36 AM
Syslog.conf Question?
I have a need to redirect some third party stuff ( currently writing to syslog) to another log file. I put a -v option to syslog and found that the following services to be redirected to a different log file.
6B,2E,4B,3B,2B. Please help me to redirect these services used by the third party s/w to be redirected.
Thanks
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 05:45 AM
10-15-2002 05:45 AM
Re: Syslog.conf Question?
This may help :-
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9366c1c4ceddd61190050090279cd0f9,00.html
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 05:56 AM
10-15-2002 05:56 AM
Re: Syslog.conf Question?
cat ~/syslog.log | egrep -v -i '6b|2e|4b|3b|2b' > ~/syslog.temp
mv ~/syslog.temp > ~/syslog.log
..But..if it's a third party software, I'd be talking to that vendor to have them create 'their' own log in an appropriate f/s !!!
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 06:47 AM
10-15-2002 06:47 AM
Re: Syslog.conf Question?
cat ~/syslog.log | egrep -i '6b|2e|....' > ~/syslog.3pty
Now the other 2 lines...
This will put those entries to another file syslog.3pty for you to read...and then clean up your syslog.
Sorry for not reading closer..
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 06:57 AM
10-15-2002 06:57 AM
Re: Syslog.conf Question?
Steps should be like this
1. make a copy of syslog.
2. grep on the fields you want to take out and o/p to differnt files.
you can also edit /sbin/init.d/syslogd to redirect o/p to some other file , but I prefer that you sont not modify that system script ans use the syslog file itself.
Manoj Srivastava