473,769 Members | 5,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

question about log4j -> jboss -> sql server | define logging level

hi,

im using the xml appender for log4j and just found out how to use jdbc
appender. Now i get all my system notifications into the database but
i want to get only the nessasery user-"actions". Jboss start, quit ...
and all other notifications and warnings should be ignored.

Does anybody have a good example how to create / define own loglevel?

Plz email me or write it here: xu******@gmx.de
Jul 17 '05 #1
1 4091
XunLing wrote:
hi,

im using the xml appender for log4j and just found out how to use jdbc
appender. Now i get all my system notifications into the database but
i want to get only the nessasery user-"actions". Jboss start, quit ...
and all other notifications and warnings should be ignored.

Does anybody have a good example how to create / define own loglevel?

Plz email me or write it here: xu******@gmx.de


You do not need your own logging level. You can configure your appender
to only accept messages from certain loggers. For help with this, try
the log4j-users mailing list available from logging.apache. org.

HTH,
Ray

--
XML is the programmer's duct tape.
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
13052
by: Anjula | last post by:
I have a stored procedure that takes 18 hours to complete. Sometimes I get the below error message when I run the stored procedure. 'Server : Msg 9002, Level 17, State 6, Line 1 The log file for database 'Customer' is full. Back up the transaction log for the database to free up some log space.'. I checked my log file and it is not full. And I don't know why I am getting this message. Any help is appreciated.
2
11420
by: NOSPAM | last post by:
Hello, I am hoping you can help me with the following problem; I need to process the following steps every couple of hours in order to keep our Sql 2000 database a small as possible (the transaction log is 5x bigger than the db). 1.back-up the entire database 2.truncate the log 3.shrink the log 4.back-up once again. As you may have determined, I am relatively new to managing a sql server database and while I have found multiple...
3
2324
by: matthurne | last post by:
I'm doing a chapter 12 exercise from Accelerated C++ ... writing a string-like class which stores its data in a low-level way. My class, called Str, uses a char array and length variable. I've gotten everything working that I want working so far, except for std::istream& operator>>(std::istream&, Str&) The way my Str class manages itself of course requires that the size of the char array to store is known when it is allocated. The...
3
9982
by: Branco Medeiros | last post by:
Dear (and mighty) all: I backed up a database (SQL server 7.0) and tried to restore it on another system (SQL Server 2000). This is not the first time I'm doing this and never had a problem before: -- in the source db BACKUP db_icoaraci TO DISK = 'C:\TEMP\BACKUP-ICOARACI.DAT' --in the destination db
3
1905
by: Ann Huxtable | last post by:
Hi, I am developing a C# front end. But my backend app server is JBoss. I want to know how I can communicate with the backend (maybe using System.Net.WebClient classes?). A search on Google does not yield much. I look forward to any one who has actually done this in practise, or failing that, any suggestions of how to solve this would be very much appreciated.
0
2174
by: Maciek | last post by:
Hi, I have this question regarding SQL Server error 3621: "The statement has been terminated." and trapping it in Try...Catch block. I've written sample Stored Procedure which intentionally inserts some values into a table violating Primary Key Constraint. In Query Analyzer I get (as expected) the following error: Server: Msg 2627, Level 14, State 1, Line 1
2
1392
by: mastery20 | last post by:
hi gurus, i have downloaded jboss 4.0.2 in zip format and i have checked it in ie by giving the url:localhost:8080/jmx-console.when i am trying to execute ant it is not.In command mode when i compiled by ant -f jboss-build.xml compile it gives an error msg stating that "ant is not recognised as internal or external command [/B" . plz help me.wat are the necessary things to be modified .and give me a instruction to execute. plz help...
1
1188
by: José Joye | last post by:
We have created some Assembly level Custom Attribute and we are searching for a way to display them when using the file property menu for the assembly ("version" tab). So far, we did not find any solution :-( This was possible with C++. Does anyone know to make visible custom defined properties (or other type of value?) in the File Property->Version window?
2
1901
by: KUTTAN | last post by:
I a using System.Reflection System.Runtime.InteropServices System.Security.Permissions In my web application In this, Reflection need low thrust level to run But I have hosted my site in a shared server. So thrust level is high
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9994
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
8872
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...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5299
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
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3959
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
3562
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.