O'Reilly logo

OCA Oracle Solaris 11 System Administration Exam Guide (Exam 1Z0-821) by Michael Ernest

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring Logging Services

Managing the logging service is quite straightforward. The syslogd process reads the /etc/syslog.conf file each time it starts up. All you have to do is change the file, as you deem fit, and restart the process. As mentioned earlier, you’ll make sure any files, hosts, or users you have specified already exist. For testing, any users you’ve specified have to be logged in via a session that can receive (and display) log messages.

You could terminate the syslogd process with the kill or pkill command, but that’s more force than you need. By design, daemon processes will restart when they receive a signal called HUP (short for hang-up). Upon restart, these processes reread their configuration files, if they have one, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required