Operating System - HP-UX
1834903 Members
2822 Online
110071 Solutions
New Discussion

Replacing console printer

 
Raynald Boucher
Super Advisor

Replacing console printer

Hello all,

We currently use a line printer attached to the console that provides a log of everything that showed on the console.

We wish to remove this hardware and use a log file instead.

From what I read, updating /etc/syslog.conff appears to be the way to go, but I'm not sure about which entries to use. Current entries are:
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *

Does adding the following entries make sense?
*.alert /var/logs/console.log
user.info /var/logs/console.log

Or is there still a better way?

Take care
3 REPLIES 3
Kwan Fong, Emile
Honored Contributor

Re: Replacing console printer

Hello Raymond,

Is this an MPE/iX server? If so, the console messages are kept in the system logfiles LOG####.PUB.SYS assuming you have enabled the console logging in sysgen (By default, console log event #115 is turned on).

You can then use LOGTOOL utility to look at the console messages.
King is the customer!
Raynald Boucher
Super Advisor

Re: Replacing console printer

Nope,
HP-UX 11.11 on 9000/800 rp3440
melvyn burnard
Honored Contributor

Re: Replacing console printer

moved to correct forum
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!