Hi all,

As part of our gradual shift to a more programmatic configuration model, we 
have reimplemented the custom logging configuration file in Lua, replacing the 
old XML-based configuration. The primary Jira for this work is TS-4548.

The configuration format is still in review, so now is a great time for your 
feedback on both the proposal itself and the specific syntax of the new 
logging.config configuration file.

The default config looks like this:
        
https://github.com/jpeach/trafficserver/blob/65fdb20c378cbcbdebb9dee98e1565a637608cd4/proxy/config/logging.config.default

The configuration we have deployed on docs.trafficserver.apache.org looks like 
this:
        log.binary {
            Format = '%<cqtq> %<ttms> %<chi> %<crc>/%<pssc> %<psql> %<cqhm> 
%<cquuc> %<caun> %<phr>/%<pqsn> %<psct> %<cqpv>',
            Filename = 'squid'
        }

Since this is the last XML configuration file, we will be able to drop the XML 
library dependencies, so you will no longer have to build against expat or 
libxml2.

I also filed TS-4639 for some upgrade tooling since I expect that a lot of 
sites have customized logs. If you would like to volunteer for this, or if you 
have any feedback about the usefulness of upgrade tooling, please let me know. 

thanks,
James

Reply via email to