Last updated on FEBRUARY 20, 2017
Applies to:Solaris Operating System - Version 10 3/05 and later
This document describes how to redirect service log output with SMF:
By default, the Solaris service management by the way of svc.startd(1M) launches the services and legacy startup scripts with stdout & stderr redirected to /var/svc/log/service:instance.log or /etc/svc/volatile/service:instance.log (when the service starts before /var is mounted read-write).
It is sometimes necessary to redirect the messages to another location for different reasons:
- to the console for debugging purposes
- to a different location for security purposes
- to a different location to avoid /var FS full
This document explains how to redirect the messages to a different location.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms