Thank you, but about the second post there is no proxy.config.diags.output.note in records.config what should I set so that the output is visible on the console for the hello world plugin.
cheers, Shirish On Wed, Apr 21, 2010 at 5:50 PM, shirish <[email protected]> wrote: > Hello, > > One more thing how do I output traffic server notes to console. Its given > that "N*ote:* in the example above, Traffic Server notes are directed to > the console by specifying E for proxy.config.diags.output.note in > records.config. The second note shows Traffic Server attempting to load > the hello-world plugin. The third line of Traffic Server output is from > your plugin." > > But there is no field proxy.config.diags.output.note. Can any one point me > out on how to do this. I successfully got the .so file generated and linked. > > thanks > > cheers > Shirish Reddy P > (Student) > Indian Institute Of Information Technology, Allahabad > Mob No. +919987398253 > > > > > On Wed, Apr 21, 2010 at 5:40 PM, shirish <[email protected]> wrote: > >> Hello, >> >> I was going through the documentation of traffic server sdk >> http://incubator.apache.org/trafficserver/docs/v2/sdk/ASimplePlugin.html >> >> the source code example of hello-world has deprecated name ( I suppose ) >> if InkAPI.h which has been renamed in the issue >> https://issues.apache.org/jira/browse/TS-9 , >> InkAPI.h and RemapPlugin.h are missing from /usr/local/include >> to ts.h in and the #include of hello-world.c should be modified as >> #include "ts/ts.h" and also after replacing it. There is a small logical >> flaw in the program compilation using gcc >> >> >> gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c >> >> >> actually raises error >> /usr/local/include/ts/ts.h:2031: error: expected declaration specifiers or >> ‘...’ before ‘bool’ >> >> and which is correct since 'C' Doesn't support bool type. Either an enum >> in the file ts.h at the top is to be defined or change the documented >> example to g++. >> >> Thanking you, >> >> cheers >> shirish >> > >
