Coder Social home page Coder Social logo

Enhance log output about xray-core HOT 4 OPEN

1eo1 avatar 1eo1 commented on May 29, 2024
Enhance log output

from xray-core.

Comments (4)

Fangliding avatar Fangliding commented on May 29, 2024

The log level of the API has already been debug.

from xray-core.

pulsarice avatar pulsarice commented on May 29, 2024

Hi, To prevent spamming log and increse of log size in user management panels, I would like to request an option to hide an api request in log output or move to higher logging level. Thanks in advance

Are you asking about error log or access log?
I don't see api request in Warning level of error log.
But in access log, all api requests generated by x-ui panel are printed.
When I'm monitoring my live access log, I use this grep filter to remove unwanted lines like api,blocked,dns
tail -F "/usr/local/x-ui/access.log" 2>/dev/null | grep --line-buffered -v 'blocked\|api\|dns-out'

from xray-core.

1eo1 avatar 1eo1 commented on May 29, 2024

The log level of the API has already been debug.

no, it is not. it is on warning level

But in access log, all api requests generated by x-ui panel are printed

yes, the panel make requests every 10 seconds.
i think it would be better to move it to higher logging level than disabling

from xray-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.