log4j


Log4j logging stops intermittently


We're experiencing some stoppages on our log4j(v1.2.8) INFO logs. We're using a WebSphere(8.5.5) clustered server(vertical) with 3 members that runs on a single machine(UNIX). Stoppage is random; no specific file size, time or when about to rollover
We've first suspected that is a volume related problem as we've tested before on a lower volumed server the problem doesn't occur. I've later tested overloading both servers but I could not replicate the problem.
Average daily production is 175,000 INFO lines. A workaround is available by just changing the timestamp of the log files to resume logging.
Already looked into the suggested fix on Log4j suddenly stops logging but nothing seemed to work. I'm hoping I could get some advise on were to look. Thank you.
log4j.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<root>
<priority value="INFO" />
<appender-ref ref="TEST" />
</root>
<appender name="TEST" class="org.apache.log4j.RollingFileAppender">
<param name="encoding" value="UTF-8" />
<param name="file" value="$test/directory/logs/test${com.test.log.server.name}.log" />
<param name="MaxFileSize" value="10000KB" />
<param name="MaxBackupIndex" value="50" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%t] [%-12X{username}] [%-12X{servlet}] [%c{1}] %m%n" />
</layout>
</appender>
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p %c{1} - %m%n" />
</layout>
</appender>
</log4j:configuration>
The value of ${com.test.log.server.name} is declared in WebSphere JVM custom properties on each application server.
Any help would be greatly appreciated.

Related Links

How to configure JDBCAppender programmatically
how to use markerfilter with old log4j
How to setup log rotation in AEM web console?
Websphere 8.5.3, SLF4j Log4j, Multiple EARs, multiple log files not generating
How to configure logging level for JAWR using log4j.xml
In which classes we are not using Log4J
log4j - why am I getting this ludicrous amount of DEBUG even if there's no log4j.properties?
log4j 2.5 Rolling file appender does not release lock on files with Delete feature
configure log4j in dockerfile
No logs when tomcat is stopped
log4j doesn't print preparestatement sql log
Running a web application on Tomcat through Windows service
How can I assign a variable to a logger at log4j
Programmatically creating a Log4j 1.x Appender for specific Category
No Configuration was provided Log4j loading
How do I correct this error while appending to a log file using log4j2?

Categories

HOME
arduino-uno
atom-editor
oracle11g
push-notification
bookshelf.js
razor
leon
sqlite3
callback
retrofit
installshield
opengl-es-2.0
gnupg
user-input
spring-tool-suite
phaser
messages
hex-editors
opentracing
pugjs
jqwidget
samoa
openedx
visual-composer
nodatime
object-detection
xlsxwriter
clickonce
firebase-crash-reporting
android-widget
kannel
social-media
publish
gsoap
flink-streaming
google-rich-snippets
gtrendsr
winrt-xaml-toolkit
kendo-ui-grid
http-referer
y86
mmenu
ios5
http-digest
devextreme
web-mining
serverside-rendering
starteam
sharefile
theano.scan
uft-api
tasker
ensembles
sfdc
botbuilder
android-mediaprojection
total-commander
angular-resource
scrollable
jlink
domain-model
jxcore
crypt
knpmenubundle
pillow
epson
django-scheduler
specrun
pycaffe
visual-c++-2008
database-optimization
fuzzy-search
multiple-regression
jwplayer7
captivenetwork
apachebench
uid
ford-fulkerson
javax.sound.midi
simple-framework
feedback
iis-arr
responsive-images
generic-programming
cisco-ios
mmc
clipperlib
jsapi
javax.mail
fscommand
nstableviewcell
qpainter
angularjs-ng-click
cctv
googlemock
eol
article
navigationservice
didselectrowatindexpath
cloud-connect
gridfs
soundtouch
ruby-datamapper
qt-faststart
html-editor
selected
trusted
venn-diagram
jquery-ui-layout
bigcouch
heartbeat
tomcat-valve
f#-powerpack
xdomainrequest
netbeans-7.1
yui-datatable
h.323
gin
filtered-index
dbal
user-friendly
web-architecture
ti-dsp
simpletest

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App