use your own log facility/level, and use syslog.conf to send that to a separate file?
or, dtrace probes. or, the module name is already in the syslog message. liujun wrote: > The messag log is effctive and direct method to debug kernal module. To > collect the interested module's informations , we only use the shell script > on the /var/adm/messags . So,I want to record module's log in separate > file acording on module's name. > > I face two problem: > i) how to create my own file in kernal env; > ii) how to write msgbuf to the file created by step i). > > Are there some interfaces to achive the above aims? > > I hope your help . > Thanks! > > > This message posted from opensolaris.org > _______________________________________________ > opensolaris-code mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/opensolaris-code _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
