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"!!?

and about "remote" behaviour i'm using perl's command on the same machine, why does it need remote enabled? and why does it work in os2009.11 out of box? did they change it between releases?

very thanks for your help,

gerard


_______________________________________________
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to