Comments (2)
Once the file rollover fails the Appender is essentially dead as it no longer has an open stream. This is not unique to RandomAccessFile as all file appenders will face this. I really don't see a good way to fix this.
from logging-log4j2.
Once the file rollover fails the Appender is essentially dead as it no longer has an open stream. This is not unique to RandomAccessFile as all file appenders will face this. I really don't see a good way to fix this.
IOException handling,when Stream Closed, randomAccessFile is set to null. A new access file will be created next time. Is this OK?
from logging-log4j2.
Related Issues (20)
- Uniform handling of location and URIs HOT 1
- [MS14] Documentation revamp 1/5 HOT 1
- [MS15] Documentation revamp 2/5
- [MS16] Documentation revamp 3/5 HOT 1
- [MS17] Documentation revamp 4/5
- [MS18] Documentation revamp 5/5
- Revamp the `Web Applications` page
- Implement uniform password "encryption/decryption" mechanism HOT 4
- When logging from multiple threads, an appender can be broken until app restart if it rolls over HOT 10
- A problem with an abnormal log output location. HOT 11
- After a log file is deleted by mistake, a new rollover file cannot be created.
- Fix tests using `OnStartupTriggeringPolicy`
- When obtaining the LogContext through LogManager.getContext(getClass().getClassLoader(), false, uri), the shutdownHook in the XML configuration does not take effect. HOT 3
- JSON pretty print is not working in JsonTemplateLayout latest version log4j-layout-template-json 2.23.1 HOT 10
- OutOfMemoryException because WatchManager isn't garbage collected HOT 8
- RollingFileAppender with createOnDemand=true creates directories on a path eagerly (on initialization)
- Switch `Rfc5424Layout` to use builder pattern
- ProviderUtil.lazyInit hangs indefinitely HOT 10
- The `append` option in file appender doesn't work properly HOT 4
- `PatternResolver` does not support substitution HOT 6
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 logging-log4j2.