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

Where do I place log4j.xml file for Swing based project in netbeans?
LOG4J Load muliple log4j files
log4j - DailyRollingFileAppender, override subAppend()
simple log4j configuration issue
custom log4j layout class not being called
How to configure chainsaw bundle to view log4j log file?
How can I configure hadoop mapreduce so that the log of my mapreduce class can output to a file?
Is there a comprehensive description for log4j.properties options?
How to log bean validation (jsr-303) messages when using log4j and hibernate validator?
Unwanted dependency logging with log4j
How can i configure Log4j to generate new log file every time the java application runs
where to put log4j.properties- for use in java desktop app
while shifting from log4j to SLF4j using the SLF4J Migrator how to replace the log4j.xml with the logback.xml
Is possible to change the forecolor of log4j? [duplicate]
slf4j + log4j problem
Log4j mapping all loggers to a single logger

Categories

HOME
testing
client
gitlab
atom-editor
listview
plot
hp-exstream
yarn
ravendb
indesign
midi
kentor-authservices
quickbooks
remote-access
percona
try-catch
foselasticabundle
alpine
dbext
riot.js
tar
zurb-foundation-6
hammerspoon
h2db
underflow
pingfederate
phpfox
maquette
elasticsearch-ruby
msys2
windowbuilder
unboundid
nat
r-raster
stormpath
iframe-resizer
twilio-api
oracle-fusion-middleware
karaf
xmlreader
force-layout
picasso
stacked
swift3.0.2
bootstrapper
ruby-on-rails-3.1
glew
password-encryption
skeleton-css-boilerplate
menuitem
react-scripts
rails-routing
promela
boost-multi-index
hls.js
sybase-asa
pdfclown
mako
word-vba-mac
spring-android
heidisql
azure-sdk
probability-density
ado.net-entity-data-model
dstu2-fhir
intrusion-detection
multiple-regression
simplewebrtc
react-native-listview
t4mvc
cyclomatic-complexity
content-length
riak-cs
ios9.1
device-orientation
truevault
c++03
umbraco6
oam
eventual-consistency
sqlperformance
interface-orientation
enterprisedb
ocunit
nsnetservice
funscript
bluepill
custom-backend
gnustep
imac
mongomapper
infrastructure
sproutcore-2
dentrix
dbal
rescale
ti-dsp

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