Giter Club home page Giter Club logo

Comments (2)

danieleteti avatar danieleteti commented on May 27, 2024

Hi, why don't append you logs directly to your ELK stack? There is the LoggerPro.ElasticSearchAppender.pas which is designed on purpose. If this is not viable for you, we can surely promote some private methods to virtual, but that doesn't sole the problem because you need a method to "close" a file when the request is terminated (a.k.a. "at the last log line of that request"). That could be done in a middleware. Another approach could be to append your logs in a redis instance and then use Logstash, or other specific software, to do ingestion into elasticsearch. With you don't have any problem about the number of files. There are many different solutions, I don't know the system, but IMHO overriding a method in the FileAppender is not enough. Let me know what you think.

from loggerpro.

fastbike avatar fastbike commented on May 27, 2024

Thanks Daniele. I'll look at the ElasticSearchAppender once we've got the ELK stack up and running.

On the interim I have subclassed the TLoggerProFileAppenderManaged so it can deal with a file per GUI and writes to a sub directory created from the first two characters of the GUID (16x16 possible sub directories)

This issue can be closed

from loggerpro.

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.