> On Sep 3, 2015, at 12:17 PM, Vishwas Manral <[email protected]> wrote: > > Hi Kit, > > I did set as you mentioned: > CONFIG proxy.config.output.logfile STRING olog.out > > The part which I think I wanted was to be able to send different files for > logging and debugging. How can I do that?
There is no way to do that. I expect you can come close by sending debug to stderr (E) and logging to the logfile (L). > If I use io.write into a file would that work (hoping it does not write into > a file immediately but only on flush)? > > Thanks, > Vishwas > > On Thu, Sep 3, 2015 at 11:49 AM, Shu Kit Chan <[email protected]> wrote: > You can check out these config options here - > > https://docs.trafficserver.apache.org/en/latest/reference/configuration/records.config.en.html#diagnostic-logging-configuration > https://docs.trafficserver.apache.org/en/latest/reference/configuration/records.config.en.html#proxy-config-output-logfile > > proxy.config.diags.output.debug is not used to define the file name of the > log. The possible values are O, E, S, L > > you can change proxy.config.output.logfile to other file name you like. > > Thanks. > > Kit > > On Thu, Sep 3, 2015 at 11:21 AM, Vishwas Manral <[email protected]> > wrote: > Hi ATS-gurus, > > I am using the tslua plugin. I had a few questions that I am stuck with: > > 1. In the records.config file I use the following: > > CONFIG proxy.config.output.logfile STRING olog.out > CONFIG proxy.config.diags.output.debug STRING odebug.out > > However it seems all the messages I inject as ts.debug go to olog.out. How > can we send strings to odebug.out > > 2. Are there others ways to send logfiles to different logfiles? > > Thanks, > Vishwas > > >
