Skip to content

Can't turn off s3_Statistics log messages #135

@matyasselmeci

Description

@matyasselmeci

My logs keep filling up with messages like (formatting mine):

time="2026-01-14T23:02:25Z"
level=info
msg="260114 23:02:25 075 s3_Statistics: {\"event\":\"s3file_stats\",\"hit_b\":0,\"miss_b\":0,\"full_hit\":0,\"part_hit\":0,\"miss\":0,\"bypass_b\":0,\"bypass\":0,\"fetch_b\":0,\"fetch\":0,\"unused_b\":0,\"prefetch_b\":0,\"prefetch\":0,\"errors\":0,\"bypass_s\":0.000,\"fetch_s\":0.000}"
daemon=xrootd.origin

I cannot seem to be able to turn off the s3_Statistics logging. This is the xrootd config generated by pelican (with sensitive values replaced with *HIDDEN*):

all.role server
if exec xrootd
  xrd.port 8443
  xrd.protocol http:8443 libXrdHttp.so
fi
xrd.tls /run/pelican/xrootd/origin/copied-tls-creds.crt /run/pelican/xrootd/origin/copied-tls-creds.crt
xrd.tlsca certfile /run/pelican/xrootd/origin/ca-bundle.crt
sec.protbind * none

http.header2cgi Authorization authz

http.secxtractor /usr/lib64/libXrdVoms.so

http.staticpreload http://static/robots.txt /run/pelican/xrootd/origin/robots.txt

all.sitename UMass-Amherst-Test-Origin

ofs.osslib ++ libXrdOssStats.so
xrd.report 127.0.0.1:9930 every 30s
xrootd.monitor all auth flush 30s window 5s fstat 60 lfn ops xfr 5  dest redir fstat info files user pfc tcpmon ccm throttle 127.0.0.1:9930
xrootd.mongstream oss throttle use send json dflthdr 127.0.0.1:9930
all.adminpath /run/pelican/xrootd/origin
all.pidpath /run/pelican/xrootd/origin

ofs.osslib libXrdS3.so
# The S3 plugin doesn't currently support async mode
xrootd.async off

s3.begin
s3.url_style path
s3.path_name *HIDDEN*
# Buckets may be optional for some origins
s3.bucket_name *HIDDEN*

s3.service_name s3
s3.region us-east-1
s3.service_url *HIDDEN*
s3.access_key_file /etc/pelican/access.key
s3.secret_key_file /etc/pelican/secret.key
s3.trace error
s3.end


xrootd.seclib libXrdSec.so
ofs.authorize 1
acc.audit deny grant
acc.authdb /run/pelican/xrootd/origin/authfile-origin-generated
acc.authrefresh 300
ofs.authlib ++ libXrdAccSciTokens.so config=/run/pelican/xrootd/origin/scitokens-origin-generated.cfg

# Tell xrootd to make each namespace we export available as a path at the server
all.export /umass-amherst-test
xrootd.fslib ++ throttle  # throttle plugin is needed to calculate server IO load
xrootd.chksum max 10 md5 adler32 crc32 crc32c
xrd.sched maxt 20000
xrootd.trace emsg login stall redirect
ofs.trace info
oss.trace error
xrd.trace -all
cms.trace all
http.trace none
xrootd.tls all
xrd.network nodnr
scitokens.trace info warning error

http.maxdelay 9

# Add in http headers to make the web client capable of requesting resources
http.staticheader -verb=OPTIONS Access-Control-Allow-Origin *
http.staticheader -verb=OPTIONS Access-Control-Allow-Methods GET,PUT,PROPFIND
http.staticheader -verb=OPTIONS Access-Control-Allow-Headers Authorization,Want-Digest,Content-Type,User-Agent,Depth,Content-Length,Translate

http.staticheader -verb=GET Access-Control-Allow-Origin *
http.staticheader -verb=GET Access-Control-Allow-Headers Authorization,Want-Digest,Content-Type,User-Agent

http.staticheader -verb=PUT Access-Control-Allow-Origin *
http.staticheader -verb=PUT Access-Control-Allow-Headers Authorization

http.staticheader -verb=PROPFIND Access-Control-Allow-Origin *
http.staticheader -verb=PROPFIND Access-Control-Allow-Headers Depth,Content-Type,Authorization,Content-Length,Translate

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions