Nigel, Nigel Smith wrote: > Hi Tim > >> If you are running snv-74 and later, you need to do the following: >> svccfg -s iscsitgt setprop iscsitgt/qlog-lvl = integer: 0xffffff >> svccfg -s iscsitgt listprop iscsitgt/dbg-lvl >> > > Why set 'qlog-lvl' and then list 'dbg-lvl'? > Are these two different things? > dbg-lvl is used when the iscsitgtd is running in non daemon mode.
qlog-lvl is used while running in daemon mode. You do not need to set the dbg-lvl for logging to /tmp/target_log. > For S10U4 or prior snv-74 you recomend 0x0ffff > but for snv-74 and later, its 0xffffff > After snv-74, we added iSNS and PGR features, and added debug bits for these features. > With the qlog-lvl prop set I cannot get this to > log anything at the moment. > The /tmp/target_log is created, but zero bytes. > Do you need to do anything to make it flush output > to the file? > With the 0xffffff level, should normal activity generate something > in the log file? > Set the high bit of qlog-lvl to 1 (ex. 0x8000FFFF), this should put the message to the head of the queue. Tim > Thanks > Nigel Smith > > > This message posted from opensolaris.org > _______________________________________________ > storage-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/storage-discuss > _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
