- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- re-directing printer syslog messages
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
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
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
тАО05-09-2003 03:35 AM
тАО05-09-2003 03:35 AM
I want to direct this messages to a different log file than syslog.log
Can anybody tell me if this is possible and how I should configure syslog.conf
Regards
Rainer
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 03:42 AM
тАО05-09-2003 03:42 AM
Re: re-directing printer syslog messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 03:45 AM
тАО05-09-2003 03:45 AM
Re: re-directing printer syslog messages
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 04:17 AM
тАО05-09-2003 04:17 AM
Solutionfirst of all you need to check the priority of thoses messages is.
Start the syslogd with the -d (debug) option.
e.g.
# echo test | logger -p user.info
An entry should look like this then:
got a message (1, 0x8)
logmsg: pri 16, flags 0, from hprtdu95, msg May 9 14:13:22 dkonerma: test
readfds = 0x8 0x3 0xffffffff 0xffffffff
Here the prio is 16.
This decodes to facility 1:
#define LOG_USER (1<<3) /* random user-level messages */
And prority:
#define LOG_INFO 6 /* informational */
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 04:18 AM
тАО05-09-2003 04:18 AM
Re: re-directing printer syslog messages
try to use something like this:
lp.info /var/tmp/lp.log
I configured the syslog.conf with this entry, and restarted the syslogd daemon without error, but I can't test to confirm if the messages will sopt logging into syslog because I have no printer configured right now.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 05:13 AM
тАО05-09-2003 05:13 AM