RE: Why Dprintk(printf) doesn't work in user space modules?
Liang Yang <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <[email protected]> |
Thank you. It does work now. -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Alex Antropoff Sent: Tuesday, March 26, 2002 1:23 AM To: [email protected] Subject: Re: Why Dprintk(printf) doesn't work in user space modules? On Tue, Mar 26, 2002 at 09:47:09AM +0200, Alex Antropoff wrote: > On Mon, Mar 25, 2002 at 11:25:16PM -0700, Liang Yang wrote: > > I already try two different ways. One is to use file handle to open > > a file and write to a file--fprintf, but it doesn't work. I also use > > file descriptor and write to a file--write, it doesn't work either. > Did you remember that tux chroots into http root to process requests ? > You must open logfile during module initialization (in TUAXAPI_init), > or your logfile will be under docroot :-) > > TUXAPI_init even > > -- > Regards, > Alex Antropoff > > > > _______________________________________________ > tux-list mailing list > [email protected] > https://listman.redhat.com/mailman/listinfo/tux-list > -- Regards, Alex Antropoff _______________________________________________ tux-list mailing list [email protected] https://listman.redhat.com/mailman/listinfo/tux-list