trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shirish <>
Subject Re: Documentation / SDK correction
Date Wed, 21 Apr 2010 12:20:27 GMT

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.


Shirish Reddy P
Indian Institute Of Information Technology, Allahabad
Mob No. +919987398253

On Wed, Apr 21, 2010 at 5:40 PM, shirish <> wrote:

> Hello,
> I was going through the documentation of traffic server sdk
> the source code example of hello-world has deprecated name ( I suppose ) if
> InkAPI.h which has been renamed in the issue
> ,
>  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

View raw message