solarg wrote:
Oscar del Rio wrote:
solarg wrote:
as you see, it products the correct output (with perl -MSys::Syslog
-e 'Sys::Syslog::syslog("local6|debug", "this is a better test: %d",
time);')
but if syslogd is started by svcs, it products nothing!
One difference i note is that in mode debug, pfiles <pid-syslogd>
shows /dev/udp and this doesn't exist when started by svcadm
% svcprop system-log | grep remote
Is "log_from_remote" enabled?
right! "log_from_remote" is set to false, and after setting it to true,
output is ok
but there is a problem still:
# svcprop system-log | grep remote
config/log_from_remote boolean false
# svccfg -s svc:/system/system-log setprop config/log_from_remote = true
# svcadm restart svc:/system/system-log
(as described in the man pages)
# svccfg -s system-log listprop config/log_from_remote
config/log_from_remote boolean true
But:
# svcprop system-log | grep remote
config/log_from_remote boolean false
Why does it still display "false"!!?
Because you need to do a "svcadm refresh system-log" to apply the
property changes to the running snapshot, which is what svcprop (and the
service) will actually read.
Dave
_______________________________________________
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss