• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

logging console to file

How can I log the console of a Solaris 2.5.1 server to a file? I know about contool, but I'm looking for an easier way...
0
jonie
Asked:
jonie
1 Solution
 
pxhCommented:
Look into /var/adm/messages you will find system messages logged there (after reboot a new file is started old will be save in messages.x).
Be aware what system messages really mean, e.g. if you start a license manager during startup, which writes to the stdout those message will appear on the console (which happened to be the stdout during startup), however these are not true system messages and aren't logged.

You may also configure the logging, look into the syslogd man page for details.


Hope thise helps.


Peter

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now