473,396 Members | 1,847 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

diaglog size too big

Hi,

I have a script whcih creates a new db2diag.log file everyday. My
problem is the moment a new file gets created, there is too much data
being written into the db2diag.log

Is there any way where in we can restrict unnecessary items being
written to the diaglog.

Pls help

Chettiar

Jun 28 '06 #1
3 7240
"chettiar" <ch************@yahoo.com> wrote in message
news:11**********************@b68g2000cwa.googlegr oups.com...
Hi,

I have a script whcih creates a new db2diag.log file everyday. My
problem is the moment a new file gets created, there is too much data
being written into the db2diag.log

Is there any way where in we can restrict unnecessary items being
written to the diaglog.

Pls help

Chettiar


You can lower the DIAGLEVEL in the dbm cfg. The default is 3, with 4 giving
you the most messages:

db2 update dbm cfg using DIAGLEVEL 2

If you are not using the HEALTH MONITOR, I would turn that off since it
generates a lot of messages:

db2 update dbm cfg using HEALTH_MON OFF

You may need to do a db2stop and db2start for these changes to take effect.
Jun 28 '06 #2
what is your diaglevel?

db2 get dbm cfg | grep -i diaglevel

Allowed values are 0 - 4

* 0 - No diagnostic data captured
* 1 - Severe errors only
* 2 - All errors
* 3 - All errors and warnings
* 4 - All errors, warnings and informational messages

chettiar wrote:
Hi,

I have a script whcih creates a new db2diag.log file everyday. My
problem is the moment a new file gets created, there is too much data
being written into the db2diag.log

Is there any way where in we can restrict unnecessary items being
written to the diaglog.

Pls help

Chettiar


Jun 28 '06 #3
thnx guys.. it worked
Visu wrote:
what is your diaglevel?

db2 get dbm cfg | grep -i diaglevel

Allowed values are 0 - 4

* 0 - No diagnostic data captured
* 1 - Severe errors only
* 2 - All errors
* 3 - All errors and warnings
* 4 - All errors, warnings and informational messages

chettiar wrote:
Hi,

I have a script whcih creates a new db2diag.log file everyday. My
problem is the moment a new file gets created, there is too much data
being written into the db2diag.log

Is there any way where in we can restrict unnecessary items being
written to the diaglog.

Pls help

Chettiar


Jun 28 '06 #4

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

Similar topics

3
by: Marti | last post by:
Dear everyone, Its my understanding that IE6 now uses a default text-size of "Small" rather than IE5's "Medium". Since I have used relative font-sizes (usually in ems) on all my sites, I am...
25
by: Matthias | last post by:
Hi, I am just reading that book by Scott Meyers. In Item 4 Meyers suggests to always use empty() instead of size() when probing for emptyness of STL containers. His reasoning is that size()...
9
by: Dr John Stockton | last post by:
Assuming default set-ups and considering all reasonable browsers, whatever that may mean, what should an author expect that his readers in general will see (with visual browsers) for a page with...
2
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
4
by: tshad | last post by:
I am having trouble with links in my DataGrid. I have Links all over my page set to smaller and they are consistant all over the page in both Mozilla and IE, except for the DataGrid. Here is a...
5
by: Pohihihi | last post by:
Why can't the following work when it has a set property defined? this.textBox1.Size.Width = 25; I get error Cannot modify the return value of 'System.Windows.Forms.Control.Size' because it is...
3
by: Richard McCutcheon | last post by:
Hi all. I have written a homegrown monitoring script to capture table snapshots and dynamic sql statements. I run this script for a period of about 20 hours a day from Monday to Friday. It...
18
by: Diogenes | last post by:
Hi All; I, like others, have been frustrated with designing forms that look and flow the same in both IE and Firefox. They simply did not scale the same. I have discovered, to my chagrin,...
0
by: Racerx | last post by:
Hi All: I use db2 v8.2 on AIX 5.2. I found the following in the diaglog DIA3220W Client sent data from IP address = "***.***.**.***", port = "3298". 2007-03-31-03.18.05.013300 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...

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.