Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Stephen Deasey
What happens if the network or some other part of the infrastructure goes down such that one of the nodes can't communicate with the master? Do you loose log messages? Does the node block? What happens when the master fills it's log disk, do all the clients block? You're going to need a temporar

Re: [AOLSERVER] ODBC driver

2004-03-08 Thread Bob Woodside
On Sun, 7 Mar 2004 21:09:24 -0800 Tom Jackson <[EMAIL PROTECTED]> wrote: > Ah, yes the compiler warnings. Essentially the defines which set the > data type are messed up. Small Int/Unsigned Int, something like that > it seems. I think these are warnings which used to not show up in > older version

Re: [AOLSERVER] nspostgres on Mac OS X Panther

2004-03-08 Thread Andre Berger
* tammy <[EMAIL PROTECTED]>, 2004-03-08 19:26 +0100: > Hi > > Here's how I made nspostgres on OS X. > > >## nspostgres ### > do this as root;) > ># postgres driver from aolserver > ># postgres must be installed prior to nspostgres install. > > > >cd $SRCDIR/oacs-modules/nspostgres >

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Andrew Piskorski
On Mon, Mar 08, 2004 at 10:05:21PM +0100, Zoran Vasiljevic wrote: > So my naive idea was, if I were able to swap the log fd against > a Tcl channel, I could simply re-route all resulting log traffic > somewhere else. The emphasis is on "all" traffic. Not just from > one thread. I do not even know

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Zoran Vasiljevic
On Monday 08 March 2004 09:13 pm, you wrote: > Also, the ns_logctl command does > have per-thread buffering capabilities -- you could wrap whatever you're > doing with it, e.g., in ADP: > <% > ns_logctl hold; # begins buffering log messages in this thread alone > ns_adp_include myfile.adp > set ms

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Jim Davidson
In a message dated 3/8/2004 12:01:47 AM Eastern Standard Time, [EMAIL PROTECTED] writes: Date:    Sun, 7 Mar 2004 12:35:26 -0800From:    Tom Jackson <[EMAIL PROTECTED]>Subject: Re: ns_logctl expansion?On Sun, 2004-03-07 at 11:06, Zoran Vasiljevic wrote:> Oh, misunderstanding...Zoran,

Re: [AOLSERVER] nspostgres on Mac OS X Panther

2004-03-08 Thread tammy
Hi Here's how I made nspostgres on OS X. ## nspostgres ### do this as root;) # postgres driver from aolserver # postgres must be installed prior to nspostgres install. cd $SRCDIR/oacs-modules/nspostgres make clean ranlib /usr/local/pgsql/lib/libpq.a setenv PGINC "$POSTGRES/includ

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Zoran Vasiljevic
On Monday 08 March 2004 17:53, you wrote: > Shoot, I was hoping you wouldn't notice that point! ... Actually my idea > only addresses one way of registering a way of selecting then setting > the channel, all the work you were going to do would still be required, > but my idea might interfere with

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Vlad Seryakov
What about making logging facility pool based like db system, define different pools, eventually those logging pools may be not just files but syslog, custom socket etc. Then in your app you just use those log pools, something like ns_log setpool logfile1 ns_log Debug ns_log setpool syslog1 ns

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Vlad Seryakov
No problem at all, i had to write some kind of nslog module to do custom logging myself for another project, i might've misunderstood your intensions. Zoran Vasiljevic wrote: On Monday 08 March 2004 17:27, you wrote: There is Tcl syslog extension, i use it in my Tcl scripts but it is fo rUnix only

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Tom Jackson
On Mon, 2004-03-08 at 08:55, Zoran Vasiljevic wrote: > I do believe that this might open interesting possibilities to > other AS users, not necessarily familiar with syslog and its > configuration. Also, moving to syslog removes the decision about what to do outside of AOLserver. Not sure how sys

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Tom Jackson
On Sun, 2004-03-07 at 23:37, Zoran Vasiljevic wrote: > Oh, it is not the work that I'm afraid of :) > Your idea seems pretty good. The only thing here would be: how > to treat non-connection threads? Those are not aware of any URLs. > We have usually a dozen of those performing all sorts of non-pa

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Zoran Vasiljevic
On Monday 08 March 2004 17:27, you wrote: > There is Tcl syslog extension, i use it in my Tcl scripts but it is fo > rUnix only. > If Windows is one of the platforms syslog may not be portable solution, > but if only Unix, > collecting nsd.logs over syslog makes life much easier than re-inventing >

Re: [AOLSERVER] ns_logctl expansion?

2004-03-08 Thread Vlad Seryakov
There is Tcl syslog extension, i use it in my Tcl scripts but it is fo rUnix only. If Windows is one of the platforms syslog may not be portable solution, but if only Unix, collecting nsd.logs over syslog makes life much easier than re-inventing Tcl version of syslog itself. Zoran Vasiljevic wrote:

Re: [AOLSERVER] nspostgres on Mac OS X Panther

2004-03-08 Thread Barry Books
I'm not sure it will fix the whole problem but you are missing -lnsdb in the second cc line. You might try this link for other suggestions http://openacs.org/forums/message-view?message_id=135917 barry On Mar 8, 2004, at 3:48 AM, Andre Berger wrote: Hi there, I have successfully compiled aolser

Re: [AOLSERVER] ODBC driver

2004-03-08 Thread Bob Woodside
On Sun, 7 Mar 2004 21:09:24 -0800 Tom Jackson <[EMAIL PROTECTED]> wrote: > On Sun, 2004-03-07 at 20:45, Bob Woodside wrote: > > > Actually, the first thing I thought I'd look into is > > puzzling out some of those compiler warnings. > > Ah, yes the compiler warnings. Essentially the defin

[AOLSERVER] nspostgres on Mac OS X Panther

2004-03-08 Thread Andre Berger
Hi there, I have successfully compiled aolserver 4.0.1 under Mac OS X 10.3 Panther with X-Tools 1.1 and Fink, and have a precompiled, working PostgreSQL 7.4 installed. Both reside in /usr/local. The thing is, there's a problem with nspostgres-4.0. [EMAIL PROTECTED]:~/Desktop/CleanMeUp/AOLserver/n