This is a discussion on howto configure and use bsdlog within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, I want to write to the system log on AIX from within my kernel extension on the eve ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I want to write to the system log on AIX from within my kernel extension on the eve of a panic. I believe there is something called bsdlog() for that purpose. Can someone point to/provide info on how to configure and use the bsdlog facility on AIX 5.3? thanks -kamal |
| |||
| Kamal R. Prasad wrote: > Hello, > > I want to write to the system log on AIX from within my kernel > extension on the eve of a panic. I believe there is something called > bsdlog() for that purpose. Can someone point to/provide info on how to > configure and use the bsdlog facility on AIX 5.3? try the built in logger command |
| |||
| Greg Beeker wrote: > Kamal R. Prasad wrote: > > Hello, > > > > I want to write to the system log on AIX from within my kernel > > extension on the eve of a panic. I believe there is something called > > bsdlog() for that purpose. Can someone point to/provide info on how > to > > configure and use the bsdlog facility on AIX 5.3? > > try the built in logger command The answer is that one has to put the line *.debug in .etc/syslog.conf and have syslogd enabled. Then there is another funda about using bsdlog() to write to syslog from within the kernel. regards -kamal |
| |||
| There is also a command out there to write to the error report and an odm change that sends you an email when something hits the errpt, which is pretty cool. I can dig it up for you if you are interested. c ya "Kamal R. Prasad" <kamalp@acm.org> wrote in message news:1116957626.544961.199870@g47g2000cwa.googlegr oups.com... > > Greg Beeker wrote: >> Kamal R. Prasad wrote: >> > Hello, >> > >> > I want to write to the system log on AIX from within my kernel >> > extension on the eve of a panic. I believe there is something > called >> > bsdlog() for that purpose. Can someone point to/provide info on how >> to >> > configure and use the bsdlog facility on AIX 5.3? >> >> try the built in logger command > > The answer is that one has to put the line *.debug in .etc/syslog.conf > and have syslogd enabled. Then there is another funda about using > bsdlog() to write to syslog from within the kernel. > > regards > -kamal > |
| ||||
| John Rigler wrote: > There is also a command out there to write to the error report and an odm > change that sends you an email when something > hits the errpt, which is pretty cool. I can dig it up for you if you are > interested. > That can be done by reading /tmp/syslog.out too. I was/am concerned mostly with th writing debug info onto a logfile just before the system crashes or becomes unstable. regards -kamal > c ya > > "Kamal R. Prasad" <kamalp@acm.org> wrote in message > news:1116957626.544961.199870@g47g2000cwa.googlegr oups.com... > > > > Greg Beeker wrote: > >> Kamal R. Prasad wrote: > >> > Hello, > >> > > >> > I want to write to the system log on AIX from within my kernel > >> > extension on the eve of a panic. I believe there is something > > called > >> > bsdlog() for that purpose. Can someone point to/provide info on how > >> to > >> > configure and use the bsdlog facility on AIX 5.3? > >> > >> try the built in logger command > > > > The answer is that one has to put the line *.debug in .etc/syslog.conf > > and have syslogd enabled. Then there is another funda about using > > bsdlog() to write to syslog from within the kernel. > > > > regards > > -kamal > > |