HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Syslog Question
Operating System - HP-UX
1833827
Members
2346
Online
110063
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
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
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
03-04-2003 05:13 PM
03-04-2003 05:13 PM
Syslog Question
Is there a way to allow syslog to append new entries instead of creating syslog.old. I want to open Syslog even after a reboot and see all messages. I hope this makes sence
None at this time
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:34 PM
03-04-2003 05:34 PM
Re: Syslog Question
Hi Chad,
The only way I know is to edit the /sbin/init.d/syslogd script & comment out the
mv /var/adm/syslog/syslog /var/adm/syslog/OLDsyslog.log
AND
> /var/adm/syslog/syslog.log
lines. This is where that action is performed.
BUT NOTE: Any changes here are fair game to be overwritten by a patch in the future!
HTH,
Jeff
The only way I know is to edit the /sbin/init.d/syslogd script & comment out the
mv /var/adm/syslog/syslog /var/adm/syslog/OLDsyslog.log
AND
> /var/adm/syslog/syslog.log
lines. This is where that action is performed.
BUT NOTE: Any changes here are fair game to be overwritten by a patch in the future!
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:59 PM
03-04-2003 05:59 PM
Re: Syslog Question
Hi Chad,
One way to do it might be to add a script to your startup that will append the contents of OLDsyslog.log to another syslog file, something like syslog.log.all. That way you would always have all the syslog messages in one file no matter how many times your system reboots. Plus, your script would be separate from the standard system scripts and it would be safe from any patches in the future.
JP
One way to do it might be to add a script to your startup that will append the contents of OLDsyslog.log to another syslog file, something like syslog.log.all. That way you would always have all the syslog messages in one file no matter how many times your system reboots. Plus, your script would be separate from the standard system scripts and it would be safe from any patches in the future.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 06:04 PM
03-04-2003 06:04 PM
Re: Syslog Question
You don't want to do post 1. syslog.log needs to be of reasonable size so you can actually use it for problem diagnosis.
A different idea would be to add a startup script that cat oldsyslog >> /home/root/biglog
Do it as a seperate install script so that future patches don't overwrite you.
SEP
A different idea would be to add a startup script that cat oldsyslog >> /home/root/biglog
Do it as a seperate install script so that future patches don't overwrite you.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP