Comments (2)
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.
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)
- Feature Request for low level Windows Event logger HOT 4
- File.Appender error? HOT 3
- Adding Date to fileappender filename HOT 2
- Feature request: conditional compilation for depencencies HOT 1
- AddAppender raises AccessViolation and duplicates appenders HOT 2
- DelAppender - Argument Out Of Range Exception HOT 2
- FileAppender write in the wrong position. HOT 5
- Only one backup file ever used HOT 2
- Application Freeze on freelibrary with dll using LoggerPro HOT 1
- Feature Request for detail level HOT 1
- Enabling appenders feature request HOT 4
- Hi Microsoft AppCenter Support HOT 2
- Question: PID and log rotation? HOT 3
- A small XE4 compilation issue and a fix HOT 1
- why not fatal error level log? HOT 4
- Changes introduced in change request #103 produce an exception HOT 1
- Authentication on TElasticSearchAppender HOT 1
- Exception on Syslog Appender when message/payload is too big HOT 3
- [feature request] EMail Appender: Collective E-Mail HOT 1
- Please add the possibility to log to a TStringList.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loggerpro.