在windows系统中,DB2 日志db2diag.log 在什么地方?

本文介绍在不同版本的Windows操作系统上,IBM DB2 V9.5的db2diag.log文件的默认存放位置。对于Windows XP和Windows 2003系统,默认路径为C:Documents and SettingsAll UsersApplicationDataIBMDB2<DB2copyname>DB2;而在Windows Vista及更高版本中,则位于C:ProgramDataIBMDB2<db2copyname>DB2。若安装了IBM Data Server Driver,该日志文件将被放置在驱动程序安装目录下的db2子目录。
以下是IBM网站上的解答

Question

Where is db2diag.log for DB2 V9.5 located on Windows?

Answer

In DB2 V9.5, the location of db2diag.log is changed:

For Windows XP and Windows 2003 operating systems:
C:\Documents and Settings\All Users\Application Data\IBM\DB2\<DB2 copy name>\DB2

For Windows Vista and later operating systems:
C:\ProgramData\IBM\DB2\<db2 copy name>\DB2

NOTE:
* Application Data is a hidden folder.

* The default location can be modified by updating the 'diagpath' dbm cfg parameter to a desired location.


If you have IBM Data Server Driver package installed, the db2diag.log files will be located in db2subdirectory of the driver install directory.

For example, if you installed the driver under:
C:\Program Files\IBM\IBM DATA SERVER DRIVER

the db2diag.log will be under
C:\Program Files\IBM\IBM DATA SERVER DRIVER\db2.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值