Can anyone please tell me where DB2 log files are kept
and how to view them? What type of files are they.
I want to view AIX, Cognos and DB2 log files, where are they and can I view them in the one viewer?
justin.mcgowan@kaz-group.com
DB2 uses logfiles to be able to rollback/restore. I think these are binary files, you cannot do anything with.
path like : K:\DB2\NODE0000\SQL00001\SQLOGDIR
Then there is the db2diag.log that will keep up with all sorts of activity in the database:
path like:L:\Program Files\SQLLIB\DB2
This file stores error messages and such things like write activity on tables...
If you issue the command:
db2 get database configuration for xxxxx
(x's = database name)
Look at the line:
"Path to log files"
This will show you where the log files are stored. Beyond that, I don't know who you'd be able to read their contents.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.