473,698 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7272
"chettiar" <ch************ @yahoo.com> wrote in message
news:11******** **************@ b68g2000cwa.goo glegroups.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
7102
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 now getting reports of "your fonts are too tiny" from various users. Of course, the sites still look fine if those users set their text-size to medium, but face it -- most people don't even know thats an option.
25
7578
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() might take linear time on some list implementations. That makes sense at first. However, he also says this at the very beginning: "That being the case , you might wonder why one construct should be preferred to the other, especially in view of the...
9
3775
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 body like <br><br> Abc <font size=+1> Abc <font size=+1> Abc <font size=+1> Abc <font size=+1> Abc <font size=+1>
2
28590
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
3490
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 snippet from my .css file: *************************** body { margin:0; padding:0;
5
6661
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 not a variable but following works
3
1854
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 uses work files to store interim data while formatting the snapshot outputs, and the final output dataset is formatted so I can import the day's perf data into a DB2 table. This works most days, but every few days this monitoring job fails. It
18
24964
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, that IE7 does not seem to offer any way to control the font size of a text input element.
0
2268
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 Instance:db2inst1 Node:000 PID:1220664(db2agent (Sample) 0) TID:1 Appid:C0A80AAE.E20C.
0
8673
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
8601
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
8892
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,...
1
6518
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
5860
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
4365
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
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2327
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1998
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.