[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Why Dprintk(printf) doesn't work in user space modules?



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 :-)
> 

-- 
Regards,
Alex Antropoff





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []