You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Chintana Wilamuna <ch...@gmail.com> on 2010/01/22 10:34:24 UTC
Using TS plugins
Hi,
I complied a sample plugin and copied the .so into
/usr/local/lib/trafficserver. Then changed
proxy.config.plugin.plugin_dir to /usr/local/lib/trafficserver in
records.config. Added an entry in plugin.config. I'm writing a simple
debug message using INKDebug() inside INKPluginInit(). I've enabled
debugging by turning on proxy.config.diags.debug.enabled.
However, I cannot see this log message in any of the log files. Have I
missed any step to get the plugin working?
Thanks in advance,
Bye,
-Chintana
--
Blog: http://engwar.com/
Photos: http://flickr.com/photos/chintana
Re: Using TS plugins
Posted by Bryan Call <bc...@yahoo-inc.com>.
You also have to set a string (regular expression) to match your debug
topic:
CONFIG proxy.config.diags.debug.tags STRING http.*
You can also set this on the command line by running traffic_server -T
'http.*'
-Bryan
On 01/22/2010 01:34 AM, Chintana Wilamuna wrote:
> Hi,
>
> I complied a sample plugin and copied the .so into
> /usr/local/lib/trafficserver. Then changed
> proxy.config.plugin.plugin_dir to /usr/local/lib/trafficserver in
> records.config. Added an entry in plugin.config. I'm writing a simple
> debug message using INKDebug() inside INKPluginInit(). I've enabled
> debugging by turning on proxy.config.diags.debug.enabled.
>
> However, I cannot see this log message in any of the log files. Have I
> missed any step to get the plugin working?
>
> Thanks in advance,
>
> Bye,
>
> -Chintana
>
>