|
RE: RE: RE: Logging to remote Node via slog?
|
06/30/2008 12:22 PM
post9869
|
RE: RE: RE: Logging to remote Node via slog?
The idea of QNET is to extend the client-server message passing cross
network, *transparently*. However, the server CAN know where is the
message comes from if it choose to.
"slogger" does not "read from /dev/slog", it post (create) that pathname
for others to access it. This is general "resource manager" idea.
In detail, the "ctp" passed in io_write(), have a
"ctp->info.nd/ctp->info.pid" to tell where is the message comes from.
> -----Original Message-----
> From: Marc Roessler [mailto:marc.roessler@solectrix.de]
> Sent: June 30, 2008 12:10 PM
> To: ostech-core_os
> Subject: Re: RE: RE: Logging to remote Node via slog?
>
> > Then maybe took the slogger source, when ever it got an message,
also
> > find out where is the message come from, and log that information.
> well that won't be possible either, because the logging "slogger"
reads from
> /dev/slog. Since both the local and the remote process access this
file
> transparently, slogger can not differentiate which process wrote which
input?
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post9867
|
|
|