473,626 Members | 3,334 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Log4 j issue- Merging with other logger content

1 New Member
Hi ,

I am using log4j in my application. I have the problem with log4j.propertie s file . It will automatically appends another logger file from the current logger which i am using for the current application and also it logs or merging other logger content of other applications in the current logger. I don't want to print other logger messages from the current logger. Is there any way to restrict the other logger messages of other applications from the current logger file. And this logger (log4j.properti es) file i am setting at server level. Is there any way to set the logger file based on application wise.? Pls find the log4j.propertie s file below and anybody let me know the solution for this problem asap.

log4j.propertie s


# ***** R is set to be a RollingFileAppe nder.
log4j.rootLogge r=INFO,R
log4j.appender. R= org.apache.log4 j.Fileappender
log4j.appender. R=org.apache.lo g4j.RollingFile Appender
log4j.appender. R.File=/apps/opt/chcl.log
# ***** Max file size is set to 100KB
log4j.appender. R.MaxFileSize=1 00KB
# ***** Keep one backup file
log4j.appender. R.MaxBackupInde x=3
# ***** R uses PatternLayout.
log4j.appender. R.layout=org.ap ache.log4j.Patt ernLayout
log4j.appender. R.layout.Conver sionPattern=%p %t %c - %m%n
Jun 27 '08 #1
1 1806
Dököll
2,364 Recognized Expert Top Contributor
Hey there!

How do you have your classes set up? You may need to create different classes for each object in your program, perhaps this might help you allocate proper area for certeain logger mesages, independent or otherwise free from unintentionally merging together with other logger messages. Would be able to add the whole code for all to see? Perhaps seeing it may help tackle this one good...

Sorry for your troubles, in a bit!
Jul 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1557
by: Nathan DeBardeleben | last post by:
This may seem wierd, and I know someone asked this question before but was told they were doing it the hard way. Unlike them, I do not have shell access to the machine where this javascript runs. I need to run the 'submit' method on a Javascript on a page - but I need to do it without a browser. I can handle all the socket code, that's not the issue, the issue is what command I need to send. I should be able to hit the page and issue...
2
2460
by: Anthony Cuttitta Jr. | last post by:
We have an application that outputs several different graphs from data downloaded from our AS400. The application has worked without (this) issue for several months now, but just recently, the workstation it is normally run from has been upgraded to WinXP from WinNT 5.0. The issue is that the graphs will either display the data within the recordsource (a query), OR it will display the "temp" data in the chart's datasheet (from initial...
0
3540
by: Kevin Spencer | last post by:
Hi all, I am working on a service that uploads METAR weather information to the National Weather Service FTP site. The service I'm authoring is hosted on a Windows 200 server, and the NWS FTP host is on a Unix server. I'm using the FtpWebRequest and FtpWebResponse classes to do the file uploading. I have tested it without any errors at all uploading to an IIS FTP server hosted on our network Most of the time it uploads without error to...
2
1321
by: K.C. Brown | last post by:
I'm trying to finish up an app that uses a left and right frame extensively. The left frame contains a dynamically built menu and the right is used as the target for links selected from the left. Everything runs pretty well except for a 3rd party dll that is called when certain restricted aspx pages are loaded to perform a 2 factor authentication that throws a runtime error on line 105 'x' is not defined every time it is enabled when...
0
1750
by: Stephen Walther | last post by:
Microsoft has released the final version of the ASP.NET Issue Tracker Starter Kit. The Issue Tracker Starter Kit is a free application produced by Microsoft which illustrates best-practices when building ASP.NET 1.1 applications. Both VB.NET and C# source code is available for download. The Issue Tracker works with both Microsoft SQL Server and Microsoft Access. You can download the Issue Tracker Starter Kit (including all source code)...
8
1761
by: -Karl | last post by:
Apparently, asp.net has a posting issue with refreshing. There seems to be several solutions to the issue but I was wondering if there is a final workaround for the issue? If so, can you please inform me what I need to do? I'm using ASP.NET 2.0 beta
5
6087
by: mikez | last post by:
Hi, We recently built a very basic file management system for a client in Access 2003 (to use with incoming tif scans). In it we used Microsoft's Document Imaging activex viewer (from Office 2003). The viewer seems to be a bit 'buggy', in that sometimes if you preview a tif image using the activex on a form, then goto another form, and then come back to preview the same image again on the first form, the preview no longer shows up...
1
1157
by: tleeuwenburg | last post by:
G'day Pythonistas! Welcome to Issue Two of The Python Papers. It has been an exciting time and we are pleased to have reached this milestone. I'd like to say a big hello to all the people who have provided their input in making this a reality: the python-advocacy list, comp.lang.python, the Python User Groups that responded to the call to participate and also many individuals. This is also the first issue where we have attempted to publish...
0
3216
by: HandleX609 | last post by:
http://i103.photobucket.com/albums/m135/handlex/RandomPhotos/Buttsex_to-Korn.jpg This is the snapshot stating the event for a certain zone. http://i103.photobucket.com/albums/m135/handlex/RandomPhotos/Buttsex_to-Korn.jpg This is showing the properties of certain IPs located in the zone that is having the issue. Stemming off my "Network Issue" thread, I've decided to close it because that was the issue was found and now to find the...
3
1524
by: Vish4u | last post by:
Hello Everyone, I have a encountered a strange issue with the execution of my stored procedure on clients machine. My stored procedure contains a cursor in which there is a select statement written in concatinated string format (provided below). when i execute the procedure on my clients database some concatinated lines in the select statement are not considered.(i.e the select statement is executed without those two line between the...
0
8203
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8368
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8512
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7203
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4094
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4206
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2630
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1515
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.